Thread: Duokan Lite?
View Single Post
Old 03-13-2011, 11:27 PM   #1
h1uke
Zealot
h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.
 
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
Duokan Lite?

Described below is a simple technique of trying Duokan software on your Kindle.
Those who want to take a look at it, but also want adding anything to the protected
area of Kindle root filesystem might be especially interested.
The only prerequisite is launchpad (which requires jailbreak in order to be installed).

Select needed files from Duokan installation archive and copy them over to the Kindle:

- download Duokan archive following the link above and unpack it somewhere on your PC.
Only DK_Documents, DK_Pictures and DK_System folders are of interest.

- create a temporary folder (dklite) somewhere on your PC and copy the following to it:
  • DK_Documents -- empty folder
  • DK_Pictures -- empty folder
  • DK_System/lib -- recursively, including all subfolders and files
  • DK_System/system -- recursively, including all subfolders and files
  • DK_System/Savers -- recursively, including all subfolders and files
  • DK_System/bin -- only three files: DKPrivateProfile, doc2html, ebook

- in DK_System/DK_Update locate subfolder (dx dxg k2 k3) corresponding to your Kindle model
and copy
  • DK_System/DK_Update/<your-model>/DK_System/Savers - recursively
  • DK_System/DK_Update/<your-model>/DK_System/system - recursively
  • DK_System/DK_Update/<your-model>/DK_System/config.ini
over to the temporary folder (dklite)

- make sure the dklite folder now contains the following:

Code:
./DK_Documents:

./DK_Pictures:

./DK_System:
Savers
bin
config.ini
lib
system

./DK_System/Savers:
shui.jpg

./DK_System/bin:
DKPrivateProfile
doc2html
ebook

./DK_System/lib:
libasound.so
libbdwk.so
libchardetect.so
libcurl.so.4
libcv.so.1
libcvaux.so.1
libcvhaartraining.a
libcxcore.so.1
libdjvulibre.so.21
libdk_epub.so
libdkchm.so
libdkdjvu.so
libdkdoc.so
libdkdocument.so
libdoc2html.so
libefence.a
libfreeimage.so.3
libfreetype.so.6
libhighgui.so.1
libhtml.so
libhttp.so
libiconv.so.2
libiw.so.29
libjbig2dec.so.0
libjpeg.so
libjson.so.0
libktv.a
liblibdkzip.so
libmad.so.0
libml.so.1
libmobi.so
libopds.so
libopenjpeg.so.2
libpcre.so.0
libpcreposix.so.0
libpng12.so
libpy.a
libtiff.so.3
libtts.a
libxlds.so
libxml2.so.2
libzip.so.1
sysfont

./DK_System/lib/sysfont:
fzlth.ttf
input.ttf

./DK_System/system:
Aliases
MenuConfig
Profiles
dict
font
key
loadingpicture
pinyin
pymb.ini
skin
tts
websiteinfobak.dat
word.tar

./DK_System/system/MenuConfig:
PdfTopMenu.ini
PdfTopMenu_ft.ini
PdfTopMenu_yw.ini
PdfTxtTop.ini
PdfTxtTop_ft.ini
PdfTxtTop_yw.ini
PicTopMenu.ini
PicTopMenu_ft.ini
PicTopMenu_yw.ini
TopMenuManHua.ini
TopMenuShuangLan.ini
TopMenuSide.ini
TxtSheZhiTopMenu.ini
TxtSheZhiTopMenu_ft.ini
TxtSheZhiTopMenu_yw.ini

./DK_System/system/Profiles:
FontInfo.dat
FontInfo_ft.dat
FontInfo_yw.dat
HelpDocument.txt
systemConfig.ini
systemConfig_ft.ini
systemConfig_yw.ini
viewright.pdf

./DK_System/system/dict:

./DK_System/system/font:

./DK_System/system/key:
keymap.k

./DK_System/system/loadingpicture:
batshortshutdown.gif
kaiji.gif
kaijibg.gif
kaijirate.gif
uninstall.gif
usbconnect.gif

./DK_System/system/pinyin:
AutoEng.dat
FCITX_DICT_TEMP
cj.txt
config
db.txt
erbi.txt
fcitx-dict.log
fcitx.log
gbkpy.org
gbks2t.tab
profile
punc.mb
pyPhrase.org
pySym.mb
pybase.mb
pyindex.dat
pyphrase.mb
pyusrphrase.mb
qxm.txt
sp.dat
tables.conf
vk.conf
wanfeng.txt
wbpy.txt
wbx.mb
wbx.txt
zrm.mb
zrm.txt

./DK_System/system/skin:
MenuItem.dat
MenuItem_ft.dat
MenuItem_yw.dat
ebookk3.img

./DK_System/system/tts:
BCNPackage.dat
BENPackage.dat
GCNPackage.dat
GENPackage.dat
YCNPackage.dat
YENPackage.dat
- transfer the contents of dklite folder to the root user folder on Kindle.

- copy the attached(in archive) startdk.sh file to the Kindle under DK_System/ in user root

- copy the attached(in archive) duokan.ini file to the Kindle under launchpad/ in user root

- reinitialize launchpad shortcut database by pressing Shift Shift I on Kindle keyboard

At this point you are done. Press Shift D S to start Duokan.
Press Shift D X to exit Duokan and restart the native framework.

When installed this way, in order to remove Duokan from your Kindle
just recursively remove all DK_* folders from the user root.
If you don't plan to install it again, you can also remove the launcpad/duokan.ini file
from the user root, and re-read the shortcut base by pressing Shift Shift I on your Kindle.
Attached Files
File Type: zip dklite.zip (486 Bytes, 2564 views)

Last edited by h1uke; 03-14-2011 at 06:53 AM.
h1uke is offline   Reply With Quote