Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-13-2012, 12:47 PM   #1
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
Display ncurses on the kindle - Other things

Hello !
Is it possible to display ncurses application, like htop, on the screen of the kindle 4 non touch version (I want to keep its ebook reader usage) ? How can I install ncurses, if possible ?
The original goal is to have a fullscreen digital clock launched using kite, so if I cannot use ncurses, any recommendation ?
Ty in advance.

ps/edit: the bottom bar on my kindle hide some text in some pdf. I don't want to modify the pdf, I guess this is just a flaw in the software. Any way to fix that without converting the pdf to something mostly ugly ?

Last edited by Reventlov; 12-13-2012 at 01:23 PM. Reason: ps/edit
Reventlov is offline   Reply With Quote
Old 12-13-2012, 01:56 PM   #2
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
totally possible.

Root it.

Install a terminal of your choice.

On a 4 you could run Xclock or Oclock (i forget which is which) on a custom xserver.

I have demonstrated this exact thing working on several threads. (clock wasn't fullscreen but meh)

Re PDF: Install the kindle 4 Liberator and see if that suits you.

TLDR? https://wiki.mobileread.com/wiki/K4_Index
and https://www.mobileread.com/forums/sho...7&postcount=49



Quote:
(a virtual X server)
[root@kindle /proc]# Xvfb -fp /mnt/us/sh/fonts/X11/100dpi/ -noreset -nolisten tcp -screen 0 600x800x8

(a port into that to grab some graphics from, and to connect to from our PC to manipulate the X server in the absence of keys to get our best "setup" configured for keyless initialisation)
[root@kindle root]# x11vnc -noxdamage -noncache -forever -shared -nopw

(put onto screen for real)
[root@kindle root]# /mnt/us/kindlevncviewer/kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua -encodings "copyrect raw" 127.0.0.1:1 &


(if the above fails OOTB on the four to actually show on screen run the command below in another terminal)
[root@kindle root]# while sleep 1; do eips ''; done


(let's have a window manager for the fullscreen handling - optional)
[root@kindle root]# blackbox &

(run something)
[root@kindle root]#oclock (or xclock?) (plus some gumpf from the threads assuming you don't have your system setup exactly like mine - mainly -font 6x7 or w/e I forget exactly)

example here https://www.mobileread.com/forums/sho...0&postcount=70
That would do it.

Or you could use a terminal. or write a native app.. or a kindlet? maybe... or a ...

well you get the picture.

Yes.

Last edited by twobob; 12-13-2012 at 02:06 PM.
twobob is offline   Reply With Quote
Old 12-13-2012, 02:49 PM   #3
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
Thank you for your response.
Quote:
Originally Posted by twobob View Post
Install a terminal of your choice.

There is no term section in the https://wiki.mobileread.com/wiki/K4_Index page.
I tried kiterm and myts but they need launchpad to work, and I didn't find how to use launchpad on the Kindle 4 Non Touch (the thread here doesn't help: https://www.mobileread.com/forums/sho...d.php?t=172086 / I'm using kite at the moment).
So, any suggestion on what term I can use ?

Quote:
Originally Posted by twobob View Post
Re PDF: Install the kindle 4 Liberator and see if that suits you.
I found nothing about a «*kindle 4*Liberator*» thing anywhere. More precisions ?
Ty in advance.
Reventlov is offline   Reply With Quote
Old 12-13-2012, 03:01 PM   #4
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
err you can probably launch kiterm from kite by just putting whatever the launchpad script calls in a bash script for kite. myts would require adaptation for the K4.

just search liberator here in the forums... it's relatively new.
qlob is offline   Reply With Quote
Old 12-13-2012, 04:29 PM   #5
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
I try really hard but I find nothing about liberator on the forums (only message about liberator, but no links).
I tried to install Coolreader but I get a «*The device is not registered as a Test Kindle to run this title. Please ask the developer to add this device to the list of registered Test Kindles.*» message.
I tried to add the developper keys as suggested in one post, it doesn't work (I rebooted).
I tried to follow that, too, same issue: https://www.mobileread.com/forums/sho...&postcount=136
I'll try to use kite tomorrow, good night.
Reventlov is offline   Reply With Quote
Old 12-14-2012, 05:37 AM   #6
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by Reventlov View Post
I try really hard but I find nothing about liberator on the forums (only message about liberator, but no links).
I tried to install Coolreader but I get a «*The device is not registered as a Test Kindle to run this title. Please ask the developer to add this device to the list of registered Test Kindles.*» message.
I tried to add the developper keys as suggested in one post, it doesn't work (I rebooted).
I tried to follow that, too, same issue: https://www.mobileread.com/forums/sho...&postcount=136
I'll try to use kite tomorrow, good night.
I can't spell sorry

https://www.mobileread.com/forums/sho...d.php?t=198742

I PM'd you about the other stuff

Also as I recall the coolreader keys was the very last to go in. (other than a "test" tweak).
so make sure you have the very latest keys from Pops's thread.

Last edited by twobob; 12-14-2012 at 05:44 AM.
twobob is offline   Reply With Quote
Old 12-14-2012, 07:17 AM   #7
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
Sorry, I don't mean to be nitpicking, just wanted to draw attention to the fact that my fork of KPV is called "Librerator" and not "Liberator". The first spelling is deliberate. Hope you get it .
Kai771 is offline   Reply With Quote
Old 12-14-2012, 07:41 AM   #8
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by Kai771 View Post
Sorry, I don't mean to be nitpicking, just wanted to draw attention to the fact that my fork of KPV is called "Librerator" and not "Liberator". The first spelling is deliberate. Hope you get it .
Oh! I never noticed that... makes sense, though
qlob is offline   Reply With Quote
Old 12-14-2012, 02:32 PM   #9
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
Update: Coolreader finally works ! The problem was I wasn't registrated on amazon, so my kindle wasn't "linked", I guess, to something needed by the program. More coming later.
Reventlov is offline   Reply With Quote
Old 12-14-2012, 03:25 PM   #10
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by Kai771 View Post
Sorry, I don't mean to be nitpicking, just wanted to draw attention to the fact that my fork of KPV is called "Librerator" and not "Liberator". The first spelling is deliberate. Hope you get it .
Hi yeah. "free", I got it. I even knew that.
"When typos go bad!!!"

Cheers

EDIT: No qualms

Last edited by twobob; 12-15-2012 at 12:52 AM.
twobob is offline   Reply With Quote
Old 12-15-2012, 11:37 AM   #11
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
Update:
I installed coolreader, and the librerator fork.
Pdf reading was fine (I didn't find the options I was searching for: something to manually define a "grid" of margin/border to make the software use the whole screen for text, plus the letters were blurry every two lines).

Then the software has started to do strange things, like launch himself randomly at startup, or ignoring my will to close it. After one reboot, my kindle was bricked, I used the fastboot/imx_usb_loader to fix it.
Everything works fine at the moment.
Reventlov is offline   Reply With Quote
Old 12-15-2012, 02:24 PM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
wow. bummer.
twobob is offline   Reply With Quote
Old 12-15-2012, 03:29 PM   #13
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
@Reventlov

Hm, I don't really understand you. What do you mean "launch himself randomly at startup"? If Librerator is running, and screen saver starts, then after you activate it again, it will still be in Librerator. It's normal behaviour. You need to exit it through Menu->Exit Librerator.

To get as much of the screen for text, you need to manually define bounding box, or BBox. Do the following:

1. Make sure you see the whole page on the screen (go to Menu->Zoom & Rotate->Fit to page)
2. Menu->Settings->Manually set BBox. Move the crosshairs to define top-left corner, then press fiveway middle button. Do the same for the bottom right corner.
3. Many pdf files need different settings of BBox for odd and even pages. So, press page forward, then agian Menu->Settings->Manually Set BBox and set it again.
4. Now you have BBox set for both odd and even pages. Go to Menu->Zoom & Rotate -> Fit to content width.

You'll get the portion you selected on top. Since most pages are taller than the kindle's screen, a bit of the bottom of the page won't be shown. Pressing page forward will show that part that was missing, then when you press it again it will go to the next page etc. I believe that's what you were looking for.

I don't know how can someone brick a kindle using Librerator. Can you tell me exactly what you did? Also, what do you mean with "letters were blurry every two lines"? Can you post a screenshot?

Last edited by Kai771; 12-15-2012 at 03:31 PM.
Kai771 is offline   Reply With Quote
Old 12-15-2012, 06:16 PM   #14
Reventlov
Member
Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.Reventlov is no e-book dilettante.
 
Posts: 22
Karma: 53884
Join Date: Dec 2012
Location: Lyon
Device: Kobo H2O
Ok, so, I reinstalled librerator. And now my kindle is again acting strange.
I followed the instruction for k4nt here: https://www.mobileread.com/forums/sho...d.php?t=198742
I opened a pdf, set the bbox, read some text. Then I used "Exit Librerator" from the menu to exit the programm, but it keeps showing me the File Chooser Menu. That's the current situation. (last time, I used the home button, it showed me an error message, something about a delay of 5 sec, and then my kindle was bricked)
So, I'm waiting for instruction to exit librerator.

Edit: I have a full root access over wifi, if you need some logs without modifying the current situation.

Last edited by Reventlov; 12-15-2012 at 06:23 PM.
Reventlov is offline   Reply With Quote
Old 12-15-2012, 06:45 PM   #15
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 145
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
Thank you very much for your help with this. It seems to be an issue with cr3runner. I have K3 and use launchpad, so I didn't properly test this. I managed to reproduce the problem on my K3. It seems that both framework and Librerator are running at the same time, and fighting for input/screen. I didn't brick my kindle though - hard reset was enough. I'll remove instructions for cr3runner, so other people wouldn't have the same problem. Try using it with kite, or starting it from ssh. You shouldn't have these problems then.

Last edited by Kai771; 12-15-2012 at 08:46 PM.
Kai771 is offline   Reply With Quote
Reply

Tags
clock, hack, ncurses


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buildroot - Things added for the kindle twobob Kindle Developer's Corner 2 08-22-2013 10:18 AM
10 Things Amazon should correct in the Kindle RainingLemur Amazon Kindle 13 09-15-2011 08:56 PM
Just got a Kindle DX - want to do a few things nerys Amazon Kindle 13 07-06-2010 02:33 PM
Kindle Store - Things I would like to see pwalker8 Amazon Kindle 17 11-12-2008 10:25 PM
iLiad xrandr and ncurses DHer iRex Developer's Corner 6 09-02-2008 11:53 AM


All times are GMT -4. The time now is 10:00 AM.


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