View Single Post
Old 04-28-2015, 02:02 AM   #1
zfu
Member
zfu began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Apr 2015
Location: Shanghai, China
Device: Kindle4, KT2
Arrow [OK now]Kindle7 ($99) 5.6.0.1.6 serial jailbreak meet koreader issue..

I jailbreaked my kindle 7 ($99) by TTL2USB serail!
Boot up to dialog mode by bootm 0xE41000 and login root with passwd 'mario'.
Then I removed the main mode root passwd in file /etc/shadow of mmcblk0p1.



I already got root access of the main boot mode, installed jb-1.14.N and KUAL. I'm able to launch KUAL.

But when I try install koreader by unzip koreader-kindle-arm-linux-gnueabi-v2014.11-222-gdb420d2.zip from /mnt/us
I see the item 'KOReader' in KUAL and when I click 'Start the filemanager' it crashed and go Home directly.

I tried run koreader from terminal to open a html file with below commands.
#cd /mnt/us/koreader
#./koreader.sh ../documents/list.html -d

The crash.log
./luajit: frontend/device/generic/powerd.lua:30: bad argument #1 to 'open' (string expected, got nil)
stack traceback:
[C]: in function 'open'
frontend/device/generic/powerd.lua:30: in function 'read_int_file'
frontend/device/kindle/powerd.lua:21: in function 'init'
frontend/device/generic/powerd.lua:16: in function 'new'
frontend/device/kindle/device.lua:173: in function 'init'
frontend/device.lua:38: in main chunk
[C]: in function 'require'
frontend/ui/uimanager.lua:1: in main chunk
[C]: in function 'require'
./reader.lua:91: in main chunk
[C]: at 0x0000be95

It seems the power lib is not compatible with 5.6.0.1.6.
13 function KindlePowerD:init()
14 local lipc = require("liblipclua")
15 if lipc then
16 self.lipc_handle = lipc.init("com.github.koreader.kindlepowerd")
17 end
18 if self.lipc_handle then
19 self.flIntensity = self.lipc_handle:get_int_property("com.lab126.powe rd", "flIntensity")
20 else
21 self.flIntensity = self:read_int_file(self.fl_intensity_file) --This should be empty
22 end
23 end

How can I run koreader properly?...

Another issue I found on the script.
For kindle 7.
It can display charactors 37 columns x 33 lines. #epis 36 32 a
EIPS_MAXCHARS=37
EIPS_MAXLINES=33
That's why jb-1.14.N not show the text properly.


Update:
With below command, koreader worker perfect!!
#/mnt/us/koreader/koreader.sh /mnt/us/documents

unpack *.bin files:
I tried kindletool https://github.com/yifanlu/KindleTool, it can decode *.bin to *.tar.gz.
Attached Thumbnails
Click image for larger version

Name:	IMG_1142.JPG
Views:	1845
Size:	78.8 KB
ID:	137707  

Last edited by zfu; 04-28-2015 at 10:55 PM.
zfu is offline   Reply With Quote