Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2010, 10:46 AM   #616
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Joember
Well, besides linux way there is a way to change Browse Folders so that it treats windows shortcuts (I don't know if there is any better way) as target folders/files. Windows shortcut format is not documented, but is quite easy as far as I remember.

What's needed is basically a JS function, that would take path to the lnk file as input and return target file descriptor as a result. Stream.File can read "chunks" (readChunk(size)), and chunks have peek(offset) function, that returns byte (?) values. Probably this is enough to write it.
kartu is offline   Reply With Quote
Old 03-03-2010, 10:48 AM   #617
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
JSWolf
Here you go:
http://prs-plus.googlecode.com/hg/addons/PageIndex.js

PS
By the way, PRS+ Installer doesn't flash firmware, if it is up to date.
kartu is offline   Reply With Quote
Old 03-03-2010, 10:50 AM   #618
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,792
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kartu View Post
JSWolf
Here you go:
http://prs-plus.googlecode.com/hg/addons/PageIndex.js

PS
By the way, PRS+ Installer doesn't flash firmware, if it is up to date.
Thank you!
JSWolf is offline   Reply With Quote
Old 03-03-2010, 12:07 PM   #619
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
Quote:
Originally Posted by kartu View Post
Joember
Well, besides linux way there is a way to change Browse Folders so that it treats windows shortcuts (I don't know if there is any better way) as target folders/files. Windows shortcut format is not documented, but is quite easy as far as I remember.
Does this already work in your upcoming version, Kartu? If so, it is sufficient for my needs.

Quote:
Originally Posted by kartu View Post
What's needed is basically a JS function, that would take path to the lnk file as input and return target file descriptor as a result. Stream.File can read "chunks" (readChunk(size)), and chunks have peek(offset) function, that returns byte (?) values. Probably this is enough to write it.
That's along the lines of what I was thinking... I guess this would be plugged straight into whatever function gets a list of files in a given directory? Once your new version comes out, I might play around with that if the Windows shortcut thing does not presently work.

Joember
Joember is offline   Reply With Quote
Old 03-03-2010, 02:11 PM   #620
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Joember
Quote:
Does this already work in your upcoming version, Kartu?
No it doesn't, unfortunatelly.
kartu is offline   Reply With Quote
Old 03-03-2010, 03:08 PM   #621
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
Quote:
Originally Posted by kartu View Post
Joember

No it doesn't, unfortunatelly.
No problem. I'll fiddle once 1.02 is out.

Joember
Joember is offline   Reply With Quote
Old 03-03-2010, 06:42 PM   #622
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
With the current installer I am getting an fsk = -41 error.

I guess this is supposed to be an out of space error, but I have nothing stored in internal memory. Any suggestions?

Joember
Joember is offline   Reply With Quote
Old 03-03-2010, 09:00 PM   #623
thawk
Connoisseur
thawk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
Quote:
Originally Posted by kartu View Post
Now, the solution, I am still evaluating it and your ideas/comments are welcome, would probably look like this (written in human words ):

Code:
if exists prsp.sh and does not exist /Data/guard then 
  touch /Data/guard 
  /bin/sh prsp.sh
end
Linux gurus, tell me what you think.
I think it's good enough.
Guys will know what they are doing, and know how to recover.
Normal users will only a existed and proven solution, they won't change the code to brick their 505.

I suggest to use a txt file, like /Data/guard.txt, so it can be deleted without a PC.

Maybe the guard file can be deleted automated after a failed boot? So I won't forget deleting the guard file before reboot.

Last edited by thawk; 03-03-2010 at 09:29 PM.
thawk is offline   Reply With Quote
Old 03-03-2010, 09:02 PM   #624
GregWoods
Junior Member
GregWoods began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: KindleDXG
!!!ERROR!!!Fsk error, code = -41

Quote:
Originally Posted by Joember View Post
With the current installer I am getting an fsk = -41 error.

I guess this is supposed to be an out of space error, but I have nothing stored in internal memory. Any suggestions?

Joember
Same error for me to.
I've got a freshly installed 1.1.00.18040, cleared internal memory, have an empty 8Gb card, unzipped 1.0 installer to root of SD card (both with and without the parent 'PRSPInstaller' folder). I've tried reseting the device. I've tried everything!
Using the Expert Mode, I can Force flash PRS+ Firmware, and Force flash Rootfs, but cannot Force install PRS+ Script.


Help!!

Last edited by GregWoods; 03-03-2010 at 09:05 PM.
GregWoods is offline   Reply With Quote
Old 03-03-2010, 09:14 PM   #625
thawk
Connoisseur
thawk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
Quote:
Originally Posted by Joember View Post
Thanks, Kartu!
I know that the academically correct way to do this is via Collections... but they are not manageable for me, as they are simply dumb fixed lists with no sense around sorting by author and/or title within their set of books.
Joember
The titleSorter field in cache.xml can be used to sort book by what you need. For example, you can translate the title to pinyins and fill this field to make books sorted by pinyin.

Unfortunately, this isn't a authorSorter field

Quote:
Originally Posted by Joember View Post
I actually need Chinese/Japanese character support in the menus (for Titles and/or Authors). I think I recall seeing screenshots before that look like they had that...
Joember
If you can read chinese, I had combined prs+ 1.0RC2 with a chinese package:
http://www.hi-pda.com/forum/viewthread.php?tid=566785

What you need is :
  • fonts with chinese/japanese supported
  • put these fonts in a directory, mount the font directory to /opt/sony/ebook/FONT

Doing so, you can read chinese/japanese books, and see the title/author in the menu.
If you need a menu in chinese/japanese or other languages, you need to do more:
  • extract files in /opt/sony/ebook/application/resources to a directory
  • modify the main.xml, overwrite the getTitle/getValue function to translate menu text to chinese/japanese
  • mount the directory to /opt/sony/ebook/application/resources
thawk is offline   Reply With Quote
Old 03-03-2010, 09:28 PM   #626
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
Quote:
Originally Posted by GregWoods View Post
Same error for me to.
I've got a freshly installed 1.1.00.18040, cleared internal memory, have an empty 8Gb card, unzipped 1.0 installer to root of SD card (both with and without the parent 'PRSPInstaller' folder). I've tried reseting the device. I've tried everything!
Using the Expert Mode, I can Force flash PRS+ Firmware, and Force flash Rootfs, but cannot Force install PRS+ Script.


Help!!
Precisely the same for me. I am stating this, only because my initial question did not elaborate as much.

We have the same symptoms. Any help would be appreciated.

Joember
Joember is offline   Reply With Quote
Old 03-03-2010, 09:33 PM   #627
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
Thanks, Thawk! I will check out your version.

I am presently once again struggling with trying to reflash my firmware. I am starting to be of the opinion that there is something slightly off either about my reader or my home computer... the internal memory and the SD card gets screwed up way to easily when I attempt to work with them at home. When I fool around elsewhere though, problems are strangely less frequent.

How long is the firmware update supposed to take? The last 5-10+ times I've tried this afternoon, it either failed very quickly, or eventually timed out after a very long time.

I really like my PRS-505, but now and then I feel that it is as good as it is despite Sony's myriad attempts to cripple it as much as possible.

Joember
Joember is offline   Reply With Quote
Old 03-03-2010, 10:48 PM   #628
Joember
Enthusiast
Joember began at the beginning.
 
Posts: 32
Karma: 46
Join Date: Feb 2010
Device: PRS-505
Through some minimal debugging, it seems the process fails with the above noted error message when trying to copy the very first file:

b:/Sony Reader/software/script/prsp.ver

Which, by the way, I double checked... it exists, and is where the bath suggests it should be as far as I can tell.

SOLVED:

The installation script appears to have assumed that the folder /Data/database/system/PRSPlus/ already exists--but on my system it did not.

The solution was to put all the script files into a PRSPlus folder, and have the script copy portion of the install.js file copy only that folder, instead of several individual files and the addons folder.

Joember

Last edited by Joember; 03-03-2010 at 11:08 PM.
Joember is offline   Reply With Quote
Old 03-04-2010, 01:45 AM   #629
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
That's correct. There was a bug in installer.js, the PRSPlus script folder structure wasn't created. It's fixed in the latest installer.js.

Quote:
How long is the firmware update supposed to take? The last 5-10+ times I've tried this afternoon, it either failed very quickly, or eventually timed out after a very long time.
A couple of minutes.
Using empty SD card is recommended, since Sony risks running out of memory if you have "too many" books/images/songs.

thawk
Do you know how ebook behaves if the rebound Fonts folder doesn't contain all needed fonts files / contains wrong ones?

I am currently leaning towards starting prsp.sh only from SD card roots. This way it's very easy to unbrick and there is no messing with "guard" files which would wear off internal memory flash a bit.
kartu is offline   Reply With Quote
Old 03-04-2010, 08:52 AM   #630
GregWoods
Junior Member
GregWoods began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2010
Device: KindleDXG
I look forward to trying the updated installer this evening to fix my "-41" error.
It took me a while to figure out that the 1.0 zip wasn't the place to go for the fix. Now installed TortoiseHg to get the latest version.
Keep up the good work!

p.s. On a more negative note, using this forum as a giant unthreaded list is pretty horrible for getting support. PRS+ needs it's own forum, or section.
GregWoods is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 03:37 PM.


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