Thread: PRS-650 Flashing the firmware
View Single Post
Old 03-11-2011, 06:35 PM   #165
Papi
Addict
Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.Papi ought to be getting tired of karma fortunes by now.
 
Posts: 311
Karma: 547600
Join Date: Jul 2010
Location: Paris
Device: Kindle Keyboard, Kindle NT, PRS-650
Well it's weird I tried 2 methods, both didn't work :
- unpack new_opt.950.img, edit kconfig.xml, replace http://en.m.wikipedia.org by http://fr.m.wikipedia.org, repack, all this on linux. Maybe something wen wrong there because I used standard cramfs tools wwhich didn't have the -d option, but then I thought that was something added by porkupan to preserve owner/group of the files. When I looked at the files after unpacking, they all belonged to root/root, which seemed weird to me but I continued anyway. After flashing with my modified firmware, the wikipedia link inside a book still links to the english speaking website.
- then I tried : modify startup.sh as below, copy modified kconfig.xml in READER:/config/ and reboot the reader. It gave me an error the first 2 times I tried accessing wikipedia from reading a book, so I thought at least something was modified, but next attempt brought the english wikipedia, so no luck either.
Spoiler:

if [ -f /Data/config/kconfig.xml ]
then
cp -f /Data/config/kconfig.xml /tmp
mount --bind /tmp/kconfig.xml /opt/sony/ebook/application/kconfig.xml
fi


So either I'm doing something wrong, or this parameter is not really used by the reader which would seem awkward to me.

On another topic, in the kconfig.xml, there's the following line :
<variable name="dictionaryApplicationOnly" value="0"/> <!-- bit0:dicApp only, bit1:no Word Log, bit2:/Data/dictionary -->
Anyone knows more about this ?
Papi is offline   Reply With Quote