![]() |
#151 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Not true. Well, almost true. The EPUB uses its own internal set of fonts, it doesn't use the "system" fonts at all. The EPUB module is more or less independent of the other modules in the system. You can make it use the default fonts via CSS, but the default fonts are not represented by full sets (regular, italic, bold, bold-italic), so that's not such a good idea. The other modules know how to simulate italics and bold on a regular font, but the EPUB module doesn't.
|
![]() |
![]() |
![]() |
#152 | |
Enthusiast
![]() Posts: 42
Karma: 36
Join Date: Dec 2010
Location: germany
Device: Sony PRS-650
|
Quote:
sorry for my stupid question: are the firmwares in this post original sony-firmwares? regard |
|
![]() |
![]() |
![]() |
#153 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
|
![]() |
![]() |
![]() |
#154 |
Enthusiast
![]() Posts: 42
Karma: 36
Join Date: Dec 2010
Location: germany
Device: Sony PRS-650
|
ok, not the same like prs-plus or ebook-applications? overwrite this russian-firmware the original on the sony-readers?
regard |
![]() |
![]() |
![]() |
#155 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Someone will correct me if I'm wrong, but as far as I understand it, the hacks only replace certain bits of the original Sony firmware. I don't know anything about ebook-applications. |
|
![]() |
![]() |
![]() |
#156 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 547600
Join Date: Jul 2010
Location: Paris
Device: Kindle Keyboard, Kindle NT, PRS-650
|
I should receive in a few days a PRS 950, and was wondering about the "search wikipedia while reading a book" functionality. I guessed, since the device is sold in USA only, that the wiki link is set on the english section of wikipedia, and as I "decramfsed" it, I found 3 files that referenced the wiki link : kconfig.xml, kconfig-auto.xml and systemConfig.xml. They indeed point to http://en.m.wikipedia.org/wiki/. I would like to change this URL to http://fr.m.wikipedia.org/wiki/.
My question is : is there any risk in decramfs the firmware, modifying the xml (the 3 ?), recreating the package, creating the md5 file and flashing ? Another question, but perhaps this shouldn't be discussed here : in my search I stumbled across some URL lists, which makes me think the reader could access other URLs besides Sony bookstore using 3G. I would be interested in doing this, using my own 3G card of course (I'm in France so the one sold with the reader wouldn't work anyway, and I wouldn't use it if it did). Anyone tried this ? I don't even if the sim card is accessible or if you have to disassemble the device. I know the subject is touchy, because it could lead to illegal use of the connection "offered" by Sony, but consider it's not my purpose. |
![]() |
![]() |
![]() |
#157 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
Rebuilding the package in a Windows-Environment is NOT recommended. With the boroda/porkupan fw check the test-startup feature, to remount only the modified files, without flashing them. HTH Mark |
|
![]() |
![]() |
![]() |
#158 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 547600
Join Date: Jul 2010
Location: Paris
Device: Kindle Keyboard, Kindle NT, PRS-650
|
Thanks now I remember you posted something (post #129) about a similar case in this thread. I'll edit startup.sh and use that, it seems less risky, and I don't have any Linux distrib installed so far anyway.
|
![]() |
![]() |
![]() |
#159 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
systemConfig.xml is the initial whitelist for 3G browsing (until the current one is loaded from the Sony server, if I understand it correctly). It seems to be signed (via systemConfig.xml.sig), so it is possible that a changed version will not be accepted by the Reader's fw.
You can safely modify and overmount kconfig.xml |
![]() |
![]() |
![]() |
#160 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 547600
Join Date: Jul 2010
Location: Paris
Device: Kindle Keyboard, Kindle NT, PRS-650
|
Thanks for the information. So they did implement some kind of protection to prevent adding allowed URLs...Well I guess it seemed too easy. I thought I remember a post about someone trying to change the sim card for one of his own, but I guess that someone had to change the list of allowed URLs too, else it wouldn't be of much use other than access google books and the sony store, but I can't find that thread.
About kconfig.xml : is that a file I have to mount, or just copy to the reight directory in startup.sh ? and what is the use of kconfig-auto.xml ? |
![]() |
![]() |
![]() |
#161 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
The cp command in startup.sh is used to have the file(s) copied to /tmp/ and have them mount from there, to avoid any problems by remounting /Data/ in the standard startup-sequence. To answer your second question: kconfig-auto.xml is used with the /test-autorun/ folder. If mentioned folder is found in IM, kconfig.xml, will be replaced by kconfig-auto.xml using the same mount --bind trick. But don't ask which condition have to be met, and which buttons have to be pressed in sub-sequent order to activate autorun.xml/.js as porkupan didn't want to discuss this in public. Last edited by Mark Nord; 02-09-2011 at 11:09 AM. Reason: typos |
|
![]() |
![]() |
![]() |
#162 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 547600
Join Date: Jul 2010
Location: Paris
Device: Kindle Keyboard, Kindle NT, PRS-650
|
Thanks Mark, very helpful as usual.
OK so I just have to mess with kconfig.xml. As for systemConfig.xml, the more I think of it, the less I think anything going wrong couldn't be resolved by simply putting the original file again, and doing a hard reset or something like that. But I would be surprised if the application allows anything if it can't get the allowed URL list from the Sony server. |
![]() |
![]() |
![]() |
#163 | |
2B || !2B
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
|
Quote:
Reset the reader and start-up with connected USB. This is "Safe-Mode", no startup-scripts (including PRS+) will be executed, thus the reader again will access the originals from the firmware. Remove or change startup.sh, and restart w/o USB connected. |
|
![]() |
![]() |
![]() |
#164 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 311
Karma: 547600
Join Date: Jul 2010
Location: Paris
Device: Kindle Keyboard, Kindle NT, PRS-650
|
Interesting, I didn't know about the safe-mode. I really have to read the thread about boroda's version of the firmware on the-ebook.org (I guess that info was on this thread), but god the french translation by google is most of the times just awful. I'll have to try the english translation, maybe it's better.
|
![]() |
![]() |
![]() |
#165 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
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 ? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Possibility of re-flashing stock firmware for Hanvon N516 | wonghyf | OpenInkpot | 22 | 05-14-2010 07:37 AM |
Clock without flashing? | just_jeepin | Sony Reader Dev Corner | 5 | 11-23-2009 09:38 AM |
Safest way to get unicode font work without flashing firmware | DairyKnight | Kindle Developer's Corner | 2 | 09-12-2009 05:05 AM |
Flashing Sony's official GERMAN Firmware on PRS-505? | Applied_Micro | Sony Reader Dev Corner | 3 | 03-17-2009 04:23 AM |
PRS-500 Flashing the Reader via SD/MS | scotty1024 | Sony Reader Dev Corner | 29 | 04-09-2007 07:31 AM |