![]() |
#16 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,047
Karma: 203682
Join Date: Oct 2009
Device: Libre 2
|
How do you mount and edit the *.bin file?
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
YOu can't directly edit the binary. To use it, copy it to an SD card at the root of the card and then:
turn you V3 off insert the card hold the vol up button and turn power on with the other hand. It should start in the rom monitor mode and ask you about the update. Tap OK to start the update process. Be sure there is enough battery power to perform the update or better yet have the unit plugged into the charger. Dale |
![]() |
![]() |
Advert | |
|
![]() |
#19 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,047
Karma: 203682
Join Date: Oct 2009
Device: Libre 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,047
Karma: 203682
Join Date: Oct 2009
Device: Libre 2
|
Thanks Dale. I had my hopes up that you could edit it, because I read the following further up this thread.
Code:
However, what you can do (if you want to use the rest of your firmware and only replace the DjVu support) is to take libdjvu.so and libdjvulibre.so* files from my V3update.bin and put them in rootfs/usr/lib of your V3update.bin firmware image. |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#22 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,047
Karma: 203682
Join Date: Oct 2009
Device: Libre 2
|
Quote:
As for the Hanlin API, I think I saw an SDK download on Jinke's site, and will grab that too. |
|
![]() |
![]() |
![]() |
#23 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Yes, you can do that easily. First split the V3update.bin into its constituents using dd:
file=$1 out_dir=$2 rm -rf $out_dir mkdir -p $out_dir dd if=$file of=$out_dir/zImage bs=1M count=1 skip=1 dd if=$file of=$out_dir/ro.fs bs=1M count=6 skip=2 dd if=$file of=$out_dir/root.fs bs=1M count=44 skip=8 dd if=$file of=$out_dir/logo bs=1 count=240000 skip=$[1024*1024*52] dd if=$file of=$out_dir/jffs2.fs bs=1M count=2 skip=53 Then mount ro.fs and root.fs as usual. Then copy their content (only using rsync -AHPSXa rootfs/ myrootfs to preserve the hardlinks correctly). Then, just edit the files (or replace etc etc) and then remake the images like this: # mkfs.cramfs -v myrootfs myroot.fs Then remake the V3update.bin like this: mkv3update --write-hanlin=My-V3update.bin +zImage +myro.fs +myroot.fs +logo +jffs2.fs (the mkv3update command comes from OI or you can write one yourself as the firmware image layout is well documented on OI webpages) Last edited by tigran; 12-18-2009 at 01:46 AM. |
![]() |
![]() |
![]() |
#24 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Btw, I forgot to mention that you no longer need to change anything in V3update.bin because my idea of loading plugins locally (from ".lib" directory on the "internal storage") has been implemented and so you just need to copy a new libdjvu.so (or any other plugin, e.g. libfb2.so etc) to ".lib" directory on the reader and it will be picked up in preference to the one in the firmware. And simply deleting (or renaming) it will go back to the one in the firmware. No reboot is required and this is perfectly safe.
To execute such scripts (that do the renaming to enable/disable plugins in .lib) you need to make sure they end in ".exe.djvu" and use libdjvu 1.91 or later (it has support for executing programs *.exe.djvu). Also, to use the ".lib" feature at all you need biv_sumy or tirwal's latest firmware images (these two already implemented ".lib" and hopefully the rest will follow soon). |
![]() |
![]() |
![]() |
#25 |
Researcher and Consultant
![]() ![]() ![]() ![]() Posts: 210
Karma: 364
Join Date: Nov 2008
Location: Bangkok, THAILAND
Device: MACBOOKPRO17" HP2400TX SONYUX27
|
I have tested 1.9 with "Alice's Adventures in Wonderland, 1865.djvu" from Project Gutenberg. The Picture in the front page is awful differ from original djvu lib.
The method of .lib is good for testing new improved lib. But In some condition may need to change in the firmware. For example. your DJVU lib now support in English, Russian, Ukraine and Spanish. Changing Language menu needs more care. But anywhere, It is much better than original. |
![]() |
![]() |
![]() |
#26 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Dec 2009
Device: hanlin v5
|
multicolumn mode
Congratulations for a nice job!
![]() I read a lot of scientific articles on real paper mostly because multi-column pdfs with tables and pictures tend to go horribly wrong with ADE. I might convert them from pdf to DjVu and read them using your DjVu viewer. My first impressions are positive, but setting the right amount of horizontal step to match the two columns (sometimes not half-half) is time-consuming. I don't understand how the "Toggle multicolumn mode", works or when it is on or off. Could you please give some hints? Thanks in advance!!! |
![]() |
![]() |
![]() |
#27 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#28 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
I did find a version at http://www.leoyan.com/global-language.com/BOOKS/ along with several other books in DJVU format. Download the bundled version. Is this the one?
Here is another site: http://www.global-language.com/djvueds/ with more books. Last edited by DaleDe; 12-18-2009 at 11:48 AM. |
![]() |
![]() |
![]() |
#29 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,047
Karma: 203682
Join Date: Oct 2009
Device: Libre 2
|
Quote:
OK, this works, thanks heaps. I wonder if anyone has figured out the v5 bin file. If it follows this basic format http://openinkpot.org/wiki/Device/V3...are/FileFormat then it's just about the size of each piece I guess. |
|
![]() |
![]() |
![]() |
#30 |
Researcher and Consultant
![]() ![]() ![]() ![]() Posts: 210
Karma: 364
Join Date: Nov 2008
Location: Bangkok, THAILAND
Device: MACBOOKPRO17" HP2400TX SONYUX27
|
Try this one
Alice in Wonderland.djvu in case v5 Firmware. It is almost the same of V3 firmware. 1. Same structure but different size in each part. (That is easy to check) 2. ro.fs and root.fs are cramfs but somehow the disassemble method could be difference. (header is OK, but refuse to extract.) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad My djvu viewer | ericshliao | iRex Developer's Corner | 8 | 10-17-2010 08:28 AM |
iLiad DJVU Viewer in Java on the iLiad | scotty1024 | iRex Developer's Corner | 61 | 07-14-2010 10:36 PM |
iLiad has a djvu viewer for Chinese fiimware ? | laozhang | iRex Developer's Corner | 0 | 04-26-2010 08:56 PM |
Full-Screen Panning Picture bug on Kindle 2 | forkyfork | Amazon Kindle | 5 | 05-21-2009 04:27 PM |
iLiad DJVU viewer? | riccioberto | iRex Developer's Corner | 5 | 01-06-2008 10:23 AM |