![]() |
#31 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 42644
Join Date: Feb 2009
Device: PW1 + PW2, NOOK HD
|
I reloaded the latest Buggins firmware using the BACK page button, that erases the flash but Windows cannot read the disk. Before connecting it to my PC, I ran all of the different versions and permutations of the script saved as UNIX from SD and HD and had no success. I did the same after connecting to Windows and formatting the HD and also no success. I am either missing something or my PP is just a smidgen off from everyone elses.
None of this would really be an issue if the hidden files could be made visible without connecting to a PC and then the recentlyread file could simply be deleted like any book file. Okay: In EditPad Pro (check to make sure the text does not need to be converted to UNIX in MENU -> CONVERT): #!/bin/sh rm -rf /root/abook/RecentlyRead.sys rm -rf /home/RecentlyRead.sys Save as xxx.exe.fb2 (replace xxx with anything you like and save the file anywhere you like, SD or HD). This deletes the recently read file and with that the listing in the Recent files folder if this also deletes the content of the flash or anything else, I do not know - BUT the PP must be turned off and back on again - and that is something I did not do with any of the other scripts either, I assumed that the change will be applied then and there. So I tried the other ones again but no luck. Last edited by booknut; 07-21-2010 at 07:16 PM. |
![]() |
![]() |
![]() |
#32 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,434
Karma: 1525776
Join Date: Aug 2009
Location: TAS, Australia
Device: Astak Pocket Pro (Black), 2 x Kindle WiFi (Graphite), iPod Touch 4G
|
Quote:
I only went to the LBook firmware yesterday after an issue/scare with the battery so I'll bookmark this thread in case I run across cache issues. Just to ask further about the cache issue, does the corruption only happen with constant changes in settings and open/closing the same book, or can it happen just through normal reading? I guess what I'm asking is, is the cache constantly updated when you turn pages in your book? |
|
![]() |
![]() |
![]() |
#33 |
¿Huh?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 1004526
Join Date: Jun 2007
Location: rural Jalisco
Device: HiSense A7 CC, Fire HD6, Kobo Libra2
|
Totally befuddled. Which is the right script?
/mnt/crengine/ or /root/crengine/ As Booknut posted yesterday, I tried Dave's script w/the mnt/crengine in SD & HD, as exe.fb2 and exe.djvu, running Buggins' latested firmware to no effect. I have the script in NotePad++ but hesitate to change and run it in fear of screwing up my PPro. d |
![]() |
![]() |
![]() |
#34 | |
What Title ?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
|
|
![]() |
![]() |
![]() |
#35 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 42644
Join Date: Feb 2009
Device: PW1 + PW2, NOOK HD
|
I gave it one more try and downloaded the latest zip by Dave_S and put the unzipped file on my SD card. I opened the file and the green light flickered for about 5 seconds, then nothing. The "Recent files" directly still listed my recently opened files on the SD and the HD. I turned the PP off and back on again and checked and the "Recent files" folder still listed my recently opened books with the one difference that the book on my HD now was reset to the first page but not the one on the SD. That leads me to the conclusion that the book on the SD (showing /root/abook/) is not touched at all by the Linux command rm -rf /mnt/crengine/.cache/*. Since the book on the HD was at least affected to a certain extent, I conclude that the path is at least correct (at least for me) for the book on the HD.
I know nothing about Linux commands but I fiddled enough yesterday to delete everything on my SD and HD by changing /mnt/ to /root/abook/ and working the command line back bit by bit but leaving the * in. So I do know my PP can be manipulated and is responsive. But I was also puzzled by the fact that I was unable to just delete the .cache folder or crengine folder. I also tried Jotas' triple skin firmware once more since he had included a file called SoS_Reopen.sh that is to clear the cache as well and running that also did not make any difference at all. I also tried deleting the contents of those two folders manually from the PC but that did not change the books listed in the "Recently read" folder either. And then I decided to delete the RecentlyRead.sys file and that's when I came up with #!/bin/sh rm -rf /root/abook/RecentlyRead.sys rm -rf /home/RecentlyRead.sys It works for me, with a reboot after running the file. I had hoped rebooting would not be necessary because you have to re-enter the date but this is what works for me. I suspect there are slight differences in different PPs from Jinke itself, maybe they made changes to different production lots, that would take a lot of comparing between every PP ever sold and I do not know if every PP out there has the same path for files on the SD, all I know is that I have /root/abook/ showing when opening a book on the SD card (book in subdirectory or root) and then opening the About page in coolreader... |
![]() |
![]() |
![]() |
#36 | |
What Title ?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
The clearcache.exe.fb2 script simply clears the CoolReader cache on the SD card and the CoolReader cache in the main memory if there is one. The script leaves the ".cache" folder intact and simply removes all it's contents. No reboot is necessary after clearing the CoolReader cache. Since the Linux rm command can just as easily delete files in the Linux system file system, when run as "root" in this case, you should be careful using random path arguments to the rm command. ![]() Of course, if you have your own reason to delete the filename history data in the "Recent Files" pseudo folder you can delete that file in the same way that the cache deletion is done in the script because nothing can stop root from doing anything. |
|
![]() |
![]() |
![]() |
#37 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 42644
Join Date: Feb 2009
Device: PW1 + PW2, NOOK HD
|
That is exactly what I was not sure about, whether deleting the recent file list would actually have anything at all to do with the coolreader cache, I suspect it does nothing else but delete a list of files - and as such it is useless but for the obvious purpose of deleting the recent file list.
And I do not mind erasing the HD or SD every so often, I have backups of everything in duplicate, and I enjoy trying to figure things out - or not - but you are right, caution is advised since Linux just deletes stuff without confirmation prompts and I would not want to be the cause of someone else on this forum losing all of their books!! I would feel terrible about that!! Last edited by booknut; 07-22-2010 at 03:08 PM. |
![]() |
![]() |
![]() |
#38 | |
What Title ?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
![]() Since every time that you open a book with CoolReader the reader will parse the file and store the parsed contents in the ".cache" folder before it displays the first page, the folder can get pretty loaded up with the rather large cache files for each individually book that you have opened. Now my big question is does the script clear the ".cache" folders for you as it does for me? The way that I go about testing cache clearing is to USB connect to the PC and check that there is actually some files in the ".cache" folder, and then disconnect from the PC and run the clearcache.exe.fb2 script. After the LED blinking stops then re-connect via USB to the PC and verify that the ".cache" folder is now empty. Since I read from both main memory and from the SD card, I repeat that process for both ".cache" folders. |
|
![]() |
![]() |
![]() |
#39 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 42644
Join Date: Feb 2009
Device: PW1 + PW2, NOOK HD
|
SUCCESS!! Sort of ....
I did a low-level format of the HD and then a regular, not quick, format, and I purchased a new SD card. Now I am able to delete the contents of the folder crengine/.cache with #!/bin/sh rm -rf /root/abook/crengine/.cache/* rm -rf /home/crengine/.cache/* However, rm -rf /mnt/crengine/.cache/* still does not work but that's okay, at least I know now that there must have been something still "stuck" in the PP that got eliminated with the low-level format and the cache is now being cleared as intended. Thanks to all the folks out there that helped me think this through! |
![]() |
![]() |
![]() |
#40 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,047
Karma: 203682
Join Date: Oct 2009
Device: Libre 2
|
Has anyone noticed that the very latest of these firmwares is very responsive to keypresses. Much faster. A delight to use!
![]() |
![]() |
![]() |
![]() |
#41 | |
What Title ?
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,325
Karma: 1856232
Join Date: Jan 2009
Location: Bavaria Germany
Device: Sony Experia Z Ultra
|
Quote:
![]() ![]() ![]() Congratulations on getting it working!!! I have been adding directory listing commands to my version of that script to figure where everything is located. The really strange thing is that "/root/abook" is a symbolic link to a symbolic link to "/mnt" so either route to accessing the SD should have worked for you. It is interesting that going the long way around worked for you but going directly to the SD card did not? Anyway, the important thing is that it is working for you. ![]() |
|
![]() |
![]() |
![]() |
#42 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 42644
Join Date: Feb 2009
Device: PW1 + PW2, NOOK HD
|
![]() |
![]() |
![]() |
![]() |
#43 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 122
Karma: 2600
Join Date: Sep 2009
Device: EZ Reader Pocket PRO
|
|
![]() |
![]() |
![]() |
#44 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 105
Karma: 42644
Join Date: Feb 2009
Device: PW1 + PW2, NOOK HD
|
I have to press twice for everything, I had better luck with a previous version, the same applies to changing the bookshelf font, somewhere along the line of new firmware I lost the ability to change the title and author in the bookshelf, all that changes to a different font is the size and type.
|
![]() |
![]() |
![]() |
#45 | |
Treasure Seeker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
![]() ![]() Thanks so much for sharing your script with us. ![]() Now I can clear the cache anytime I want. ![]() Could you make a script to delete the files in the Restore_PC folder? It seems even when I delete a book the files stay in there till I manually delete them with my PC. Last edited by Blossom; 07-25-2010 at 02:54 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update Instructions and the latest Firmware Versions | mitchwah | Ectaco jetBook | 113 | 10-24-2023 09:02 PM |
latest buggins Lbook v3 firmware | Dopedangel | HanLin eBook | 9 | 06-15-2010 04:51 AM |
SMARTQ7: firmware 5 VS .92 firmware 5.1? | wwang | Alternative Devices | 2 | 12-17-2009 12:41 PM |
Firmware | col | Sony Reader | 11 | 06-18-2007 10:11 AM |
Firmware 2.9 ? | vvoi666 | iRex | 44 | 03-05-2007 11:59 AM |