Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

View Poll Results: How do you use Duokan Lite generally?
from the boot screen 114 34.55%
with launchpad hotkeys 32 9.70%
haven't used yet 184 55.76%
Voters: 330. You may not vote on this poll

Reply
 
Thread Tools Search this Thread
Old 01-05-2012, 02:00 PM   #211
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 156
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by thomass View Post
it is a new one and replaces the old Duokan Lite.
(if I understood it correctly they called the new one as "Duokan 2012")

BTW: old launchpad keys doesn't work for this new one.
Oh I see. So perhaps it is best, then, to do a fresh install of Duokan 2012, instead of an upgrade from Duokan Lite's latest version...

Regardless, it sounds like there are quite a few bugs, and as such, I think I'll just stick with Duokan Lite until at least the big bugs with Duokan 2012 get fixed.
inameiname is offline   Reply With Quote
Old 01-05-2012, 02:10 PM   #212
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,644
Karma: 1928003
Join Date: Mar 2011
Location: T黵kiye
Device: Kindle 5.3.7
Quote:
Originally Posted by inameiname View Post
Oh I see. So perhaps it is best, then, to do a fresh install of Duokan 2012, instead of an upgrade from Duokan Lite's latest version...
actually the easiest way is to use the OTA or the upgrade method (copying the new Dk_System and restart.) . the warning is just to inform users that the new release is actually a new OS. (there is nothing to worry about it)


Quote:
Originally Posted by inameiname View Post
Regardless, it sounds like there are quite a few bugs, and as such, I think I'll just stick with Duokan Lite until at least the big bugs with Duokan 2012 get fixed.
Appearing of this bugs is quite normal since the new OS is in its very first stage.
thomass is offline   Reply With Quote
Old 01-06-2012, 12:52 PM   #213
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,644
Karma: 1928003
Join Date: Mar 2011
Location: T黵kiye
Device: Kindle 5.3.7
A way to see annotations taken in Duokan'12

a file with extension .dkx is created when you create a highlight or annotation on a book.

The following method could be use to see these annotations via a PC:
  1. First create a copy of this file (dkx) and rename it with an extension .xml
  2. Open it with an editor(like notepad++) and add this two line to at the beginning of the file
    Code:
    <?xml version="1.0"?>
    <?xml-stylesheet type='text/xsl' href='DkxBrowser.xsl'?>
  3. download this file(DkxBrowser.zip) unzip and place it to the same folder with the .xml file
  4. open xml file with Internet Explorer

you should see a page like this:
Click image for larger version

Name:	duokan_annotations.png
Views:	329
Size:	31.4 KB
ID:	80849


quoted from this page


EDIT: it is easy to modify the output by modifying DkxBrowser.xsl. For example with this one(DkxBrowser-edited.zip), we can have a more simple-looking page like this:
Click image for larger version

Name:	duokan_annotations-edited.png
Views:	220
Size:	33.4 KB
ID:	80852

Last edited by thomass; 01-06-2012 at 01:58 PM.
thomass is offline   Reply With Quote
Old 01-06-2012, 04:11 PM   #214
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 156
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by thomass View Post
actually the easiest way is to use the OTA or the upgrade method (copying the new Dk_System and restart.) . the warning is just to inform users that the new release is actually a new OS. (there is nothing to worry about it)

Appearing of this bugs is quite normal since the new OS is in its very first stage.
Gotcha. I was just curious as it sounds like its totally different folders being used (xKindle vs Dk ones) and I wasn't sure.


And yeah, you always gotta expect some bugs. I know it was a big release, meaning a lot of new stuff added/removed/tweaked/updated, and that often makes for even more potential issues.
inameiname is offline   Reply With Quote
Old 01-06-2012, 04:28 PM   #215
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,644
Karma: 1928003
Join Date: Mar 2011
Location: T黵kiye
Device: Kindle 5.3.7
Quote:
Originally Posted by inameiname View Post
Gotcha. I was just curious as it sounds like its totally different folders being used (xKindle vs Dk ones) and I wasn't sure.
Actually you are right on this. Old one uses /test/DKLite/ whereas the new one uses /DuoKan as its system folder on the system partition.
And their folders on the user partiiton are also different( Lite vs xKindle)
It deletes the one in the system partition however the one in the user partition remains undeleted after the upgrade.
BTW to preserve your personal settings it copies the related files to the their new locations.

Last edited by thomass; 01-06-2012 at 04:31 PM.
thomass is offline   Reply With Quote
Old 01-06-2012, 09:12 PM   #216
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 156
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by thomass View Post
Actually you are right on this. Old one uses /test/DKLite/ whereas the new one uses /DuoKan as its system folder on the system partition.
And their folders on the user partiiton are also different( Lite vs xKindle)
It deletes the one in the system partition however the one in the user partition remains undeleted after the upgrade.
BTW to preserve your personal settings it copies the related files to the their new locations.
Ah. So it automatically deletes what it doesn't need, or that was leftover from previous installs. I was curious if by upgrading I would find myself with a much larger Duokan folder than necessary.
inameiname is offline   Reply With Quote
Old 01-06-2012, 09:21 PM   #217
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,644
Karma: 1928003
Join Date: Mar 2011
Location: T黵kiye
Device: Kindle 5.3.7
As stated here Lite folder seem to be unnecessary for the new OS. Then you can delete it.
On the other hand uninstalling and re-installing process has a risk: you may need to return your Kindle to factory default to install for the first time again.

This is the whole installing script:
Spoiler:
Code:
#!/bin/sh

#version 1117

DUOKAN_SYS_PATH="/DuoKan"
SYS_LITE_PATH="/test/DKLite"
DUOKAN_USER_PATH="/mnt/us/DK_System/xKindle"
LITE_USER_PATH="/mnt/us/DK_System/Lite"

DUOKAN_TAG="duokan"

#killall the app before installation happening 
kill -9 `ps -A | grep ebook | awk '{print $1}'`
kill -9 `ps -A | grep KindleApp | awk '{print $1}'`
kill -9 `ps -A | grep UsbSignal.bin | awk '{print $1}'`
kill -9 `ps -A | grep BatterySignal.bin | awk '{print $1}'`
kill -9 `ps -A | grep notCharging.bin| awk '{print $1}'`
kill -9 `ps -A | grep Charging.bin| awk '{print $1}'`
kill -9 `ps -A | grep PowerState.bin| awk '{print $1}'`
kill -9 `ps -A | grep suspending.bin| awk '{print $1}'`
killall -9 lipc-wait-event
lipc-set-prop com.lab126.powerd preventScreenSaver 0

mntroot rw

#rm all old DuoKan script
rm -f /etc/rc5.d/S79switch 
rm -f /etc/rc5.d/S95dkupdate 
rm -f /etc/rc5.d/duokantag 
rm -f /etc/rc5.d/rundk.sh 
rm -f /etc/rc5.d/S96rundk
rm -f /etc/rc5.d/S95framework
rm -f /etc/rc5.d/s95framework
rm -f /etc/rcS.d/S79switch
rm -f /etc/rcS.d/S95DK_switch
ln -s /etc/init.d/framework /etc/rc5.d/S95framework

rm -f /etc/init.d/DK_update
rm -f /etc/init.d/DK_switch
rm -f /etc/init.d/DK_run

rm -f /etc/rc5.d/S79DK_update
rm -f /etc/rc5.d/S95DK_switch
rm -f /etc/rc5.d/S96DK_run

sync

cp /mnt/us/DK_System/install/DK_update 	/etc/init.d/DK_update
cp /mnt/us/DK_System/install/DK_switch 	/etc/init.d/DK_switch
cp /mnt/us/DK_System/install/DK_run    	/etc/init.d/DK_run
sync

chmod +x /etc/init.d/DK_update
chmod +x /etc/init.d/DK_switch
chmod +x /etc/init.d/DK_run

ln -s /etc/init.d/DK_update /etc/rc5.d/S79DK_update
ln -s /etc/init.d/DK_switch /etc/rc5.d/S95DK_switch
ln -s /etc/init.d/framework /etc/rc5.d/S95framework
ln -s /etc/init.d/DK_run 	/etc/rc5.d/S96DK_run 

sync

		
mntroot rw
rm /core.* -f
mntroot rw
rm -rf $SYS_LITE_PATH/* 
rm -rf $DUOKAN_SYS_PATH/* 

mntroot rw
mkdir -p $DUOKAN_SYS_PATH

mntroot rw
mv $DUOKAN_USER_PATH/KindleApp $DUOKAN_SYS_PATH/KindleApp
chmod +x $DUOKAN_SYS_PATH/KindleApp

mntroot rw
mv $DUOKAN_USER_PATH/mplayer $DUOKAN_SYS_PATH/mplayer
chmod +x $DUOKAN_SYS_PATH/mplayer

mntroot rw
mv $DUOKAN_USER_PATH/miniftpd $DUOKAN_SYS_PATH/miniftpd
chmod +x $DUOKAN_SYS_PATH/miniftpd

mntroot rw
mv $DUOKAN_USER_PATH/miniftpd.conf $DUOKAN_SYS_PATH/miniftpd.conf

mntroot rw
mv $DUOKAN_USER_PATH/LayoutDemo.txt $DUOKAN_SYS_PATH/LayoutDemo.txt

mntroot rw
mv $DUOKAN_USER_PATH/ntpdate 	$DUOKAN_SYS_PATH/ntpdate
chmod +x $DUOKAN_SYS_PATH/ntpdate

mntroot rw
mv $DUOKAN_USER_PATH/UsbSignal.bin $DUOKAN_SYS_PATH/UsbSignal.bin
chmod +x $DUOKAN_SYS_PATH/UsbSignal.bin

mntroot rw
mv $DUOKAN_USER_PATH/BatterySignal.bin $DUOKAN_SYS_PATH/BatterySignal.bin
chmod +x $DUOKAN_SYS_PATH/BatterySignal.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/Charging.bin $DUOKAN_SYS_PATH/Charging.bin
chmod +x $DUOKAN_SYS_PATH/Charging.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/notCharging.bin $DUOKAN_SYS_PATH/notCharging.bin
chmod +x $DUOKAN_SYS_PATH/notCharging.bin	
	
mntroot rw
mv $DUOKAN_USER_PATH/PowerState.bin $DUOKAN_SYS_PATH/PowerState.bin
chmod +x $DUOKAN_SYS_PATH/PowerState.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/suspending.bin $DUOKAN_SYS_PATH/suspending.bin
chmod +x $DUOKAN_SYS_PATH/suspending.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/lib $DUOKAN_SYS_PATH/
				
mntroot rw
chmod +x $DUOKAN_USER_PATH/installlib.sh
$DUOKAN_USER_PATH/installlib.sh
rm $DUOKAN_USER_PATH/installlib.sh
sync
				
#TODO: 假如用户放太多垃圾在拷贝的子目录,会让系统区空间
mntroot rw
#copy all pic to system
mkdir -p $DUOKAN_SYS_PATH/res
cp $DUOKAN_USER_PATH/res/* 			$DUOKAN_SYS_PATH/res
rm $DUOKAN_USER_PATH/res/*

mkdir -p $DUOKAN_SYS_PATH/res/py
cp -r $DUOKAN_USER_PATH/res/py/* $DUOKAN_SYS_PATH/res/py
rm -rf $DUOKAN_USER_PATH/res/py/
sync
	
mkdir -p $DUOKAN_SYS_PATH/res/sysfonts
cp -r  $DUOKAN_USER_PATH/res/sysfonts/* $DUOKAN_SYS_PATH/res/sysfonts
rm -rf $DUOKAN_USER_PATH/res/sysfonts/
sync
	
mkdir -p $DUOKAN_SYS_PATH/res/CssAliases
cp $DUOKAN_USER_PATH/res/CssAliases/Aliases $DUOKAN_SYS_PATH/res/CssAliases
rm -rf $DUOKAN_USER_PATH/res/CssAliases/Aliases
sync

#copy resource of kernel to system
mkdir -p $DUOKAN_SYS_PATH/Resource
cp $DUOKAN_USER_PATH/Resource/* $DUOKAN_SYS_PATH/Resource
rm $DUOKAN_USER_PATH/Resource/*

mkdir -p $DUOKAN_SYS_PATH/Resource/CIDToUnicode
cp -r $DUOKAN_USER_PATH/Resource/CIDToUnicode/* $DUOKAN_SYS_PATH/Resource/CIDToUnicode
rm -rf $DUOKAN_USER_PATH/Resource/CIDToUnicode
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/CMap
cp -r $DUOKAN_USER_PATH/Resource/CMap/* $DUOKAN_SYS_PATH/Resource/CMap
rm -rf $DUOKAN_USER_PATH/Resource/CMap
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/CodeConvert
cp -r $DUOKAN_USER_PATH/Resource/CodeConvert/* $DUOKAN_SYS_PATH/Resource/CodeConvert
rm -rf $DUOKAN_USER_PATH/Resource/CodeConvert
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/GuessLanguage
cp -r $DUOKAN_USER_PATH/Resource/GuessLanguage/* $DUOKAN_SYS_PATH/Resource/GuessLanguage
rm -rf $DUOKAN_USER_PATH/Resource/GuessLanguage
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/Hyphen
cp -r $DUOKAN_USER_PATH/Resource/Hyphen/* $DUOKAN_SYS_PATH/Resource/Hyphen
rm -rf $DUOKAN_USER_PATH/Resource/Hyphen
rm -rf $DUOKAN_USER_PATH/Resource
sync

chmod +x $DUOKAN_USER_PATH/python/bin/iconv
sync

mkdir -p $DUOKAN_USER_PATH/res/ScreenSaver
mkdir -p $DUOKAN_USER_PATH/res/UserScreenSaver
mkdir -p $DUOKAN_USER_PATH/res/language 
mkdir -p $DUOKAN_USER_PATH/res/dict
mkdir -p $DUOKAN_USER_PATH/res/userfonts
mkdir -p $DUOKAN_USER_PATH/SQMData
sync



#clean it for next update
#mv $DUOKAN_USER_PATH/res/ScreenSaver/*  $DUOKAN_USER_PATH/res/UserScreenSaver

##Duokan duocuments
mkdir -p /mnt/us/DK_Documents
mkdir -p /mnt/us/DK_Download
mkdir -p /mnt/us/DK_News
mkdir -p /mnt/us/DK_Sync

#merge Lite Configuration
cp -r $LITE_USER_PATH/res/dict/* 			$DUOKAN_USER_PATH/res/dict
cp -r $LITE_USER_PATH/res/ScreenSaver/* 	$DUOKAN_USER_PATH/res/ScreenSaver
cp -r $LITE_USER_PATH/res/userfonts/* 		$DUOKAN_USER_PATH/res/userfonts
cp -r $LITE_USER_PATH/SQMData/* 			$DUOKAN_USER_PATH/SQMData
cp -r $LITE_USER_PATH/config.ini 			$DUOKAN_USER_PATH/


sync

#clean the script
rm /mnt/us/DK_System/install/liteinstall.sh
rm /mnt/us/DK_System/install/DuoKanInstall.sh


mntroot ro

# open the firewall for Linux, need to reboot
if test $( grep  "\-A INPUT \-i wlan0 \-j ACCEPT"  /etc/sysconfig/iptables| wc -l) -eq 0
then
	sleep 3
	mntroot rw
	cp /mnt/us/DK_System/install/iptables 	/etc/sysconfig/iptables
	reboot
	exit
fi


if test $( pgrep -f "KindleApp" | wc -l) -eq 0  &&  test $( pgrep -f "ebook" | wc -l) -eq 0  
then
	sleep 3
	/etc/rc5.d/S96DK_run  $DUOKAN_TAG &
fi
thomass is offline   Reply With Quote
Old 01-06-2012, 09:27 PM   #218
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 156
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by thomass View Post
As stated here Lite folder seem to be unnecessary for the new OS. Then you can delete it.
On the other hand uninstalling and re-installing process has a risk: you may need to return your Kindle to factory default to install for the first time again.

This is the whole installing script:
Spoiler:
Code:
#!/bin/sh

#version 1117

DUOKAN_SYS_PATH="/DuoKan"
SYS_LITE_PATH="/test/DKLite"
DUOKAN_USER_PATH="/mnt/us/DK_System/xKindle"
LITE_USER_PATH="/mnt/us/DK_System/Lite"

DUOKAN_TAG="duokan"

#killall the app before installation happening 
kill -9 `ps -A | grep ebook | awk '{print $1}'`
kill -9 `ps -A | grep KindleApp | awk '{print $1}'`
kill -9 `ps -A | grep UsbSignal.bin | awk '{print $1}'`
kill -9 `ps -A | grep BatterySignal.bin | awk '{print $1}'`
kill -9 `ps -A | grep notCharging.bin| awk '{print $1}'`
kill -9 `ps -A | grep Charging.bin| awk '{print $1}'`
kill -9 `ps -A | grep PowerState.bin| awk '{print $1}'`
kill -9 `ps -A | grep suspending.bin| awk '{print $1}'`
killall -9 lipc-wait-event
lipc-set-prop com.lab126.powerd preventScreenSaver 0

mntroot rw

#rm all old DuoKan script
rm -f /etc/rc5.d/S79switch 
rm -f /etc/rc5.d/S95dkupdate 
rm -f /etc/rc5.d/duokantag 
rm -f /etc/rc5.d/rundk.sh 
rm -f /etc/rc5.d/S96rundk
rm -f /etc/rc5.d/S95framework
rm -f /etc/rc5.d/s95framework
rm -f /etc/rcS.d/S79switch
rm -f /etc/rcS.d/S95DK_switch
ln -s /etc/init.d/framework /etc/rc5.d/S95framework

rm -f /etc/init.d/DK_update
rm -f /etc/init.d/DK_switch
rm -f /etc/init.d/DK_run

rm -f /etc/rc5.d/S79DK_update
rm -f /etc/rc5.d/S95DK_switch
rm -f /etc/rc5.d/S96DK_run

sync

cp /mnt/us/DK_System/install/DK_update 	/etc/init.d/DK_update
cp /mnt/us/DK_System/install/DK_switch 	/etc/init.d/DK_switch
cp /mnt/us/DK_System/install/DK_run    	/etc/init.d/DK_run
sync

chmod +x /etc/init.d/DK_update
chmod +x /etc/init.d/DK_switch
chmod +x /etc/init.d/DK_run

ln -s /etc/init.d/DK_update /etc/rc5.d/S79DK_update
ln -s /etc/init.d/DK_switch /etc/rc5.d/S95DK_switch
ln -s /etc/init.d/framework /etc/rc5.d/S95framework
ln -s /etc/init.d/DK_run 	/etc/rc5.d/S96DK_run 

sync

		
mntroot rw
rm /core.* -f
mntroot rw
rm -rf $SYS_LITE_PATH/* 
rm -rf $DUOKAN_SYS_PATH/* 

mntroot rw
mkdir -p $DUOKAN_SYS_PATH

mntroot rw
mv $DUOKAN_USER_PATH/KindleApp $DUOKAN_SYS_PATH/KindleApp
chmod +x $DUOKAN_SYS_PATH/KindleApp

mntroot rw
mv $DUOKAN_USER_PATH/mplayer $DUOKAN_SYS_PATH/mplayer
chmod +x $DUOKAN_SYS_PATH/mplayer

mntroot rw
mv $DUOKAN_USER_PATH/miniftpd $DUOKAN_SYS_PATH/miniftpd
chmod +x $DUOKAN_SYS_PATH/miniftpd

mntroot rw
mv $DUOKAN_USER_PATH/miniftpd.conf $DUOKAN_SYS_PATH/miniftpd.conf

mntroot rw
mv $DUOKAN_USER_PATH/LayoutDemo.txt $DUOKAN_SYS_PATH/LayoutDemo.txt

mntroot rw
mv $DUOKAN_USER_PATH/ntpdate 	$DUOKAN_SYS_PATH/ntpdate
chmod +x $DUOKAN_SYS_PATH/ntpdate

mntroot rw
mv $DUOKAN_USER_PATH/UsbSignal.bin $DUOKAN_SYS_PATH/UsbSignal.bin
chmod +x $DUOKAN_SYS_PATH/UsbSignal.bin

mntroot rw
mv $DUOKAN_USER_PATH/BatterySignal.bin $DUOKAN_SYS_PATH/BatterySignal.bin
chmod +x $DUOKAN_SYS_PATH/BatterySignal.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/Charging.bin $DUOKAN_SYS_PATH/Charging.bin
chmod +x $DUOKAN_SYS_PATH/Charging.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/notCharging.bin $DUOKAN_SYS_PATH/notCharging.bin
chmod +x $DUOKAN_SYS_PATH/notCharging.bin	
	
mntroot rw
mv $DUOKAN_USER_PATH/PowerState.bin $DUOKAN_SYS_PATH/PowerState.bin
chmod +x $DUOKAN_SYS_PATH/PowerState.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/suspending.bin $DUOKAN_SYS_PATH/suspending.bin
chmod +x $DUOKAN_SYS_PATH/suspending.bin
	
mntroot rw
mv $DUOKAN_USER_PATH/lib $DUOKAN_SYS_PATH/
				
mntroot rw
chmod +x $DUOKAN_USER_PATH/installlib.sh
$DUOKAN_USER_PATH/installlib.sh
rm $DUOKAN_USER_PATH/installlib.sh
sync
				
#TODO: 假如用户放太多垃圾在拷贝的子目录,会让系统区空间
mntroot rw
#copy all pic to system
mkdir -p $DUOKAN_SYS_PATH/res
cp $DUOKAN_USER_PATH/res/* 			$DUOKAN_SYS_PATH/res
rm $DUOKAN_USER_PATH/res/*

mkdir -p $DUOKAN_SYS_PATH/res/py
cp -r $DUOKAN_USER_PATH/res/py/* $DUOKAN_SYS_PATH/res/py
rm -rf $DUOKAN_USER_PATH/res/py/
sync
	
mkdir -p $DUOKAN_SYS_PATH/res/sysfonts
cp -r  $DUOKAN_USER_PATH/res/sysfonts/* $DUOKAN_SYS_PATH/res/sysfonts
rm -rf $DUOKAN_USER_PATH/res/sysfonts/
sync
	
mkdir -p $DUOKAN_SYS_PATH/res/CssAliases
cp $DUOKAN_USER_PATH/res/CssAliases/Aliases $DUOKAN_SYS_PATH/res/CssAliases
rm -rf $DUOKAN_USER_PATH/res/CssAliases/Aliases
sync

#copy resource of kernel to system
mkdir -p $DUOKAN_SYS_PATH/Resource
cp $DUOKAN_USER_PATH/Resource/* $DUOKAN_SYS_PATH/Resource
rm $DUOKAN_USER_PATH/Resource/*

mkdir -p $DUOKAN_SYS_PATH/Resource/CIDToUnicode
cp -r $DUOKAN_USER_PATH/Resource/CIDToUnicode/* $DUOKAN_SYS_PATH/Resource/CIDToUnicode
rm -rf $DUOKAN_USER_PATH/Resource/CIDToUnicode
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/CMap
cp -r $DUOKAN_USER_PATH/Resource/CMap/* $DUOKAN_SYS_PATH/Resource/CMap
rm -rf $DUOKAN_USER_PATH/Resource/CMap
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/CodeConvert
cp -r $DUOKAN_USER_PATH/Resource/CodeConvert/* $DUOKAN_SYS_PATH/Resource/CodeConvert
rm -rf $DUOKAN_USER_PATH/Resource/CodeConvert
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/GuessLanguage
cp -r $DUOKAN_USER_PATH/Resource/GuessLanguage/* $DUOKAN_SYS_PATH/Resource/GuessLanguage
rm -rf $DUOKAN_USER_PATH/Resource/GuessLanguage
sync

mkdir -p $DUOKAN_SYS_PATH/Resource/Hyphen
cp -r $DUOKAN_USER_PATH/Resource/Hyphen/* $DUOKAN_SYS_PATH/Resource/Hyphen
rm -rf $DUOKAN_USER_PATH/Resource/Hyphen
rm -rf $DUOKAN_USER_PATH/Resource
sync

chmod +x $DUOKAN_USER_PATH/python/bin/iconv
sync

mkdir -p $DUOKAN_USER_PATH/res/ScreenSaver
mkdir -p $DUOKAN_USER_PATH/res/UserScreenSaver
mkdir -p $DUOKAN_USER_PATH/res/language 
mkdir -p $DUOKAN_USER_PATH/res/dict
mkdir -p $DUOKAN_USER_PATH/res/userfonts
mkdir -p $DUOKAN_USER_PATH/SQMData
sync



#clean it for next update
#mv $DUOKAN_USER_PATH/res/ScreenSaver/*  $DUOKAN_USER_PATH/res/UserScreenSaver

##Duokan duocuments
mkdir -p /mnt/us/DK_Documents
mkdir -p /mnt/us/DK_Download
mkdir -p /mnt/us/DK_News
mkdir -p /mnt/us/DK_Sync

#merge Lite Configuration
cp -r $LITE_USER_PATH/res/dict/* 			$DUOKAN_USER_PATH/res/dict
cp -r $LITE_USER_PATH/res/ScreenSaver/* 	$DUOKAN_USER_PATH/res/ScreenSaver
cp -r $LITE_USER_PATH/res/userfonts/* 		$DUOKAN_USER_PATH/res/userfonts
cp -r $LITE_USER_PATH/SQMData/* 			$DUOKAN_USER_PATH/SQMData
cp -r $LITE_USER_PATH/config.ini 			$DUOKAN_USER_PATH/


sync

#clean the script
rm /mnt/us/DK_System/install/liteinstall.sh
rm /mnt/us/DK_System/install/DuoKanInstall.sh


mntroot ro

# open the firewall for Linux, need to reboot
if test $( grep  "\-A INPUT \-i wlan0 \-j ACCEPT"  /etc/sysconfig/iptables| wc -l) -eq 0
then
	sleep 3
	mntroot rw
	cp /mnt/us/DK_System/install/iptables 	/etc/sysconfig/iptables
	reboot
	exit
fi


if test $( pgrep -f "KindleApp" | wc -l) -eq 0  &&  test $( pgrep -f "ebook" | wc -l) -eq 0  
then
	sleep 3
	/etc/rc5.d/S96DK_run  $DUOKAN_TAG &
fi
Thanks for the tip. I was worried about that too. I'd have to remove several hacks, and then Jailbreak, just to get it back to factory default. Not worthwhile, I think, until Duokan 2012 gets some of its bugs out.
inameiname is offline   Reply With Quote
Old 01-06-2012, 09:34 PM   #219
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,644
Karma: 1928003
Join Date: Mar 2011
Location: T黵kiye
Device: Kindle 5.3.7
Since it is a sh file, one can install Dk'12 easily via launchpad, ssh or terminal with a command like this:
Code:
	D I = !source /mnt/us/DK_System/install/DuoKanInstall.sh
However, I should say that I didn't try this myself.

EDIT: DK12installer.zip is an alternative script to install Dk'12 via launchpad

Last edited by thomass; 04-07-2012 at 08:20 AM.
thomass is offline   Reply With Quote
Old 01-06-2012, 10:30 PM   #220
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,644
Karma: 1928003
Join Date: Mar 2011
Location: T黵kiye
Device: Kindle 5.3.7
An explanation about the new release

Quote:
Originally Posted by duokan.com
Friends, given the recent emergence of a large number of forums on the issue # 2012 # to see more feedback posts, we summarize a bit, focusing on what clarification.

1 About the installation:
On the installation, in fact, the previous installation steps are the same, we can refer to this post:
http://bbs.duokan.com/forum/view ...% 3Bfilter% 3D2592000

(2) on the font and display:
Fonts blurred, especially in black or turned on after instantaneous: an algorithm for our new, not the same as before, we are optimizing the algorithm.

We can replace the font, the path is: DK_System \ xKindle \ res \ userfonts

If you copy the font is not recognized, please send us the font: kindleuser@duokan.com , we do the next test, to help you solve the problem.

3 on Page:
ePub Page: the way we deal with is the side loading page while reading, so we just opened the book to read when they see the page is not accurate, re-opened, will re-load the page, on this issue, we are optimizing.

TXT page: To reduce the power consumption of layout, we estimate the book page, and then publishing. This problem, we will optimize later.

4 About the directory:

ePub catalog: ePub support only a directory now, the next version will support three directories (confirmed).
MOBI directory: does not support, the next version will support (confirmed).

5 on the progress bar:
In the system settings, the progress bar can be selected: "Mini" and "full version", PDF format for the mini version of the document by default.
"Full version" can clearly see the progress bar and the page number.
"Mini" is the bottom of the screen there is a very small progress bar.
In the mini version of the case, click the menu does not display the page number, this will add later.

6 of screensavers:
See more sometimes does not automatically enter the 2012 version of the screensaver, this problem, we will repair as soon as possible. Everyone is best to manually enter the screensaver. If it does not enter the screen saver, has been shown for the current page, you can solve the problem by rebooting.

We can replace screensavers, path: DK_System \ xKindle \ res \ ScreenSaver

7 on some of the features:

Support ZIP / RAR: for some technical reasons, TXT / PDF, etc. does not support compression, but the support image compression.

Auto next page: to see more follow-up version of the 2012 will support.

Intelligent Fragment TXT: TXT text menu in the menu "View books directory", this is our intelligent Fragment function. (For previously read the txt is a bug, the next version will solve) the simple solution is to simply delete the corresponding dkx, re-open the file on it.

TXT intelligent rearrangement: the current layout is automatically remove blank lines, and for some hard returns, we will add the follow-up.

PDF zoom: up version of 2012 will see more support.

Read Statistics: reading a user feedback before meaningful statistics, we are re-designed to read statistics, we are more concerned about the increasing number of data items (for example: Statistics Total number of pages).

PDF sharpening: 2012 see more follow-up version will support.

Summary: In the release, we are fully resolved to do the format and layout, due to time and to ensure system stability, temporarily let go of some of the features, look at 2012 and later, before we will add some features. Temporarily no update for this week, next week will continue to update the version.

Thank you for your support - hope you had a lot of feedback, look at the growth of 2012 without everyone's help, let us work together to create a reading history.
quoted from this page
thomass is offline   Reply With Quote
Old 01-07-2012, 03:23 AM   #221
George's Kindle
Enthusiast
George's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beauty
 
Posts: 45
Karma: 32961
Join Date: Sep 2011
Device: kindle 3
It is good that they are working on these issues.

Even with the English language package there are still a number of Chinese commands and phrases in the programme. Is there a way to extract a complete command list from the root directory for subsequent translation?
George's Kindle is offline   Reply With Quote
Old 01-07-2012, 10:26 AM   #222
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 156
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by George's Kindle View Post
It is good that they are working on these issues.

Even with the English language package there are still a number of Chinese commands and phrases in the programme. Is there a way to extract a complete command list from the root directory for subsequent translation?

Here is my English.txt file that is a fully-translated one. Basically it is just the one included in the latest Duokan Lite (not Duokan 2012), but translates all the Chinese commands and phrases possible from it in English.
Attached Files
File Type: txt English.txt (19.1 KB, 187 views)
inameiname is offline   Reply With Quote
Old 01-07-2012, 11:44 AM   #223
George's Kindle
Enthusiast
George's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beautyGeorge's Kindle does all things with Zen-like beauty
 
Posts: 45
Karma: 32961
Join Date: Sep 2011
Device: kindle 3
@inameiname

the one you posted is for Lite - but 2012 has some new features with new commands and phrases and not all of them are translated in the included 2012 English language file. Therefore, I was wondering whether a more complete comand list can be obtained.
George's Kindle is offline   Reply With Quote
Old 01-07-2012, 11:05 PM   #224
inameiname
Groupie
inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.inameiname can self-interpret dreams as they happen.
 
Posts: 156
Karma: 20390
Join Date: Feb 2009
Device: none
Quote:
Originally Posted by George's Kindle View Post
@inameiname

the one you posted is for Lite - but 2012 has some new features with new commands and phrases and not all of them are translated in the included 2012 English language file. Therefore, I was wondering whether a more complete comand list can be obtained.
Ah ok. Well up to the latest Duokan Lite, I just used that English.txt file as a template, and then copied/pasted all the Chinese ones that matched the English ones in it, and went from there. If many are the same in this newest Duokan 2012, perhaps that is a start, especially if there is a lot similar. Regardless, I haven't looked at the newest English.txt to see what can be used from the old one, and what cannot.
inameiname is offline   Reply With Quote
Old 01-08-2012, 06:27 PM   #225
bach68
Member
bach68 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2010
Device: kindle
Italian language file for Duokan 2012

New year and new italian file for Duokan 2012.
Happy new year.
Attached Files
File Type: txt Italiano.txt (20.8 KB, 137 views)
bach68 is offline   Reply With Quote
Reply

Tags
doukan, duokan, duokan lite, epub, information, keyboard, kindle keyboard, mod, pdf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
music player on duokan 2013? billpann Kindle Developer's Corner 6 03-28-2013 12:19 PM
Duokan Lite released by duokan.com, English menus? Nigovic Kindle Developer's Corner 7 02-18-2013 09:08 AM
Having trouble installing Duokan or Duokan Lite on firmware 3.3? multiprose Kindle Developer's Corner 12 02-18-2013 08:24 AM
duokan KT aditya3098 Kindle Developer's Corner 3 03-03-2012 01:49 PM
Arabic support in Duokan/Duokan Lite? Doitsu Kindle Developer's Corner 11 11-28-2011 05:46 PM


All times are GMT -4. The time now is 09:49 PM.


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