Order it now! Amazon prioritizes orders on a first come, first served basis.


View Full Version : Hacking the 505 for 1.1.00.18040


JSWolf
07-24-2008, 06:15 PM
Do the current hack(s) for the 505 under the original firmware work under the new 1.1.00.18040 version firmware or do they cause some issues with any of the changes/new features?

If they do not work, has anybody any information on getting them to actually work or making new ones that will work?

NatCh
07-24-2008, 06:20 PM
Give poor igorsk a day or two, JSWolf. :wink:

JSWolf
07-24-2008, 06:25 PM
Give poor igorsk a day or two, JSWolf. :wink:
I'm hoping for a hack builder for the 505 maybe next week sometime.

seajewel
07-24-2008, 06:46 PM
Unicode font support? Please? I haven't yet updated my Reader, because if the unicode patch won't work with the new firmware, I'd rather keep the old firmware.

JSWolf
07-24-2008, 09:43 PM
Basically, any hack made prior to fiirmware version 1.1.00.18040 should be taken as dangerous as there have been changes to some of the XML files. The hacks will be using different XML files and these older XML files will cause problems.

porkupan
07-24-2008, 11:14 PM
Unicode font support? Please? I haven't yet updated my Reader, because if the unicode patch won't work with the new firmware, I'd rather keep the old firmware.
If you are talking about the font support without flashing, it is going to work as is (there is no XML file modification involved in that, and the auto-run thankfully still works, so this hack is safe and will work in the 1.1.00.18040 without any changes). So should all the JS hacks (Sudoku, Dictionary, File Manager, etc)

The hacks requiring XML file mod (i.e. the clock) have to be taken cautiously as the XML files all changed, albeit just a little bit, in this new version of FW. But some diffing and merging will still be required.

The previous generation of "hacks" was all ready-built images, installing them will downgrade your FW back to the previous release. The new ready-built images will have to be made, or, better yet, the Hack Builder will need to be updated to create 1.1.00.18040 images for the Universal Flasher.

SurgE
07-25-2008, 12:49 AM
I've tried creating a new image with the chinese unicode fonts. Apparently the process keeps crashing and rebooting the reader.

seajewel
07-25-2008, 02:25 AM
If you are talking about the font support without flashing, it is going to work as is (there is no XML file modification involved in that, and the auto-run thankfully still works, so this hack is safe and will work in the 1.1.00.18040 without any changes). So should all the JS hacks (Sudoku, Dictionary, File Manager, etc)
<snip>

Good to know. I'm hoping there will be a hack to eventually flash the firmware and replace the font altogether. The unicode patch as is is a godsend, BUT it does mean i have to reset and lose all my pages each time I upload new books to the Reader. Not a very arduous process, but it would be nice to never have to do that again.. until the next firmware, anyways. Away with spindly times new roman for good. (i like TNR.. not just on e-ink screens at like size 8.)

DrMoze
07-26-2008, 12:25 PM
My simple hack wishlist forthe new 505 fw:

Clock
Uniform menu font
New icons
Cyrillic fonts
(maybe) lower right button for next/prev page

I'll be patient tho. I'm sure someone's having fun playing with the new flasher and checking out the firmware file! The new pdf support is very nice.

zemj
07-26-2008, 03:01 PM
1) I tried UniFlasher 2.0 to flash new "russian" firmware ... first I flahed my PRS505 with official flasher to version 1.1.00.18040 (http://esupport.sony.com/US/perl/swu-list.pl?mdl=PRS505&region_id=1). Than I found on the-ebook.com the patch with clock (http://www.the-ebook.org/forum/viewtopic.php?t=7155), joystick and fonts (,but original not localized menu) ... than I copied UniFlash2 on SD card and add new_opt.img ... started my reader and first clicked on 4 ... it writes that it copied it correctly, than I clicked on 6 and error come, that something "/tmp/... not found".
2) So I used "old" flasher from "hack3.zip" file and added new new_opt.img ---> my PRS-505 flashed correctly and works fine

Now I have new firm with clocks, font(czech font supported:2thumbsup) ... see attachment

JSWolf
07-26-2008, 10:40 PM
zemj, if the hacks you just applied were not created under firmware version 1.1.00.18040, what you have done is caused your reader to have incorrect XML files which will either cause you to lose some oof the new features or have them no work correctly.

Try the following, go to a book's menu. Then go to Utilities. If you do not see Delete Book, then you've just screwed things up and will need to reapply the firmware.

porkupan
07-26-2008, 11:47 PM
if the hacks you just applied were not created under firmware version 1.1.00.18040, what you have done is caused your reader to have incorrect XML files which will either cause you to lose some oof the new features or have them no work correctly.
The images referenced on the forum the-ebook.org (http://www.the-ebook.org/forum/viewtopic.php?t=7155) have been created under FW v. 1.1.00.18040. In fact, the images in the beginning of the head topic message were included just yesterday night, updated for the latest FW version. I am not sure where zemj got his image, but if he took one of the latest images (Russian/East European font support+new icons+clock+joystick+uniform headers), those have been properly updated for the latest FW version.

Donnageddon
07-27-2008, 12:21 AM
The hack feature I miss most is the one button "off" feature.

zemj
07-27-2008, 01:52 AM
@JSWOLF: porkupan is right, as I wrote it is from the-ebook.com and I have in menu "deleting" ... see the screen, there you can see number of version and down there string "clock on" (this is verrification of new firm with right patch), this is photo of my PRS-505

fifteenjugglers
07-27-2008, 06:59 AM
I just flashed the new icons, clock and unified font image from e-book.org. All else appears well. Thanks for all your work.

cheers

15j
:D

jakewastaken
07-27-2008, 07:59 AM
The hack feature I miss most is the one button "off" feature.

I hear you. I updated to the latest firmware and using the latest Universal Flasher was able to get back the clock. I also edited the main xml file for uniformly small font in the menus. Those are nice and all, but I really want the easy shutdown button back. Better icons would just be icing on the cake :)

JSWolf
07-27-2008, 08:26 AM
I just flashed the new icons, clock and unified font image from e-book.org. All else appears well. Thanks for all your work.

cheers

15j
:D
Do you have a link to this image please? I'd like to see if it really is for the new firmware.

JSWolf
07-27-2008, 06:58 PM
@JSWOLF: porkupan is right, as I wrote it is from the-ebook.com and I have in menu "deleting" ... see the screen, there you can see number of version and down there string "clock on" (this is verification of new firm with right patch), this is photo of my PRS-505
I just took a look at your sd.zip attachment. And yes, it is for the new firmware. The new icons I am going to pull and use them for my hacks. Then I'll be all set. I don't want the joystick messed with as we already have good page turn buttons on the right.

DrMoze
07-27-2008, 07:30 PM
The images referenced on the forum the-ebook.org (http://www.the-ebook.org/forum/viewtopic.php?t=7155) have been created under FW v. 1.1.00.18040. In fact, the images in the beginning of the head topic message were included just yesterday night, updated for the latest FW version. I am not sure where zemj got his image, but if he took one of the latest images (Russian/East European font support+new icons+clock+joystick+uniform headers), those have been properly updated for the latest FW version.

I just tried this (am still trying!) and itisn't working for me. Already updated to fw 1.1, and I unpacked the files to the root level of an empty SD card. When I put it in my Reader, I get they grayed-out screen and the circle with arrows in the middle, very slowly rotating, for many minutes (5+) with no flasher menu appearing so I can press 6.

Any ideas? Thx!

[UPDATE] Left it alone for a while longer and the menu finally appeared. It took a long time, though. I have about 100 books in my Reader, no other memory card was inserted.

Flash worked perfectly: Cyrillic, clock, icons, uniform menus... :2thumbsup :2thumbsup

fifteenjugglers
07-27-2008, 08:39 PM
Do you have a link to this image please? I'd like to see if it really is for the new firmware.


Got back late to your reply JS, apologies. That'll be time zones for you :). I see you've had a peek at zemj's attachment so you probably don't need this any more, but just in case here (http://projects.mobileread.com/reader/users/porkupan/cramfs.Fsk.PRS505.1.1.00.18040.Rus.icons.clock.joy st.uni_hdr.zip) it is.

Cheers

15j
:)

JSWolf
07-27-2008, 09:02 PM
What I plan on doing is making an image that will be flashable that will have the clock, the new icons, uniform fonts, and shut down by holding the enter button. I have no need for cryllic and changing the joypad.

fifteenjugglers
07-27-2008, 10:51 PM
What I plan on doing is making an image that will be flashable that will have the clock, the new icons, uniform fonts, and shut down by holding the enter button. I have no need for cryllic and changing the joypad.

And I'll be cheering you all the way! :thanks:

I have no need for the Cyrillic fonts either, and I don't use the joystick to turn pages. But I had to have my icons, clock and the uniform fonts back; somehow; anyhow :)

Thanks everyone for all of your efforts.

15j
:D

mcramer
07-28-2008, 01:33 AM
What I plan on doing is making an image that will be flashable that will have the clock, the new icons, uniform fonts, and shut down by holding the enter button. I have no need for cryllic and changing the joypad.

Along with fifteenjugglers I wait with bated breath :) I used your file for the previous fw version and I miss my clock :( ;)

Mr. Goodbar
07-28-2008, 10:43 AM
What I plan on doing is making an image that will be flashable that will have the clock, the new icons, uniform fonts, and shut down by holding the enter button. I have no need for cryllic and changing the joypad.

I'm anxiously waiting as well. I used your previous version and I really miss the fonts and clock. Thanks for your effort on this.

SurgE
07-28-2008, 10:51 AM
Along with fifteenjugglers I wait with bated breath :) I used your file for the previous fw version and I miss my clock :( ;)

I got the unified font size, custom fonts(optional), shutdown and clock working on a firmware i modded from chinese sources(I remove the chinese menus but kept the chinese-enhanced fonts). All i need now is the new kBookicon.png for the new icons :)

The Old Man
07-28-2008, 11:33 AM
What I plan on doing is making an image that will be flashable that will have the clock, the new icons, uniform fonts, and shut down by holding the enter button. I have no need for cryllic and changing the joypad.

:thanks: I, too, will delay updating until the your new hack is available. :thanks:

porkupan
07-28-2008, 11:57 AM
All i need now is the new kBookicon.png for the new icons :)
That's been around (http://projects.mobileread.com/reader/users/porkupan/kBookIcon.1.1.00.18040.mod.zip) for a while. :xmas:

porkupan
07-28-2008, 12:01 PM
SurgE,

Can you point me to an image with the Chinese menus? :) I just wanted to see how they implemented those. To compare with the Russian menus. I happen to know the idea behind the Russian menus implementation, and this is just a personal interest, to figure out who came up with it first. :thumbsup:

SurgE
07-28-2008, 12:42 PM
SurgE,

Can you point me to an image with the Chinese menus? :) I just wanted to see how they implemented those. To compare with the Russian menus. I happen to know the idea behind the Russian menus implementation, and this is just a personal interest, to figure out who came up with it first. :thumbsup:

IMO, they probably modified the russification code.

edit: attached the rar instead.

SurgE
07-28-2008, 12:44 PM
That's been around (http://projects.mobileread.com/reader/users/porkupan/kBookIcon.1.1.00.18040.mod.zip) for a while. :xmas:

WHOOPS i must have missed that. I can't read russian, so I got a problem browing thru the-ebook forums. On the flip side, my fluency in chinese allows me to lurk in hi-pda :P

porkupan
07-28-2008, 01:21 PM
IMO, they probably modified the russification code.
Actually, they didn't. The Chinese method is original, and in my opinion it is more stylistically correct than the Russian method. In fact, I would recommend using the Chinese method for localization rather than the Russian method, which involves editing Unicode strings in a binary shared object library.

One of these days I may make my own Russification based on the Chinese method (although as it is now, I am totally happy with English menus). This method would allow switching localization (English/Russian) via a submenu, like we can do with the clock.

SurgE
07-28-2008, 02:05 PM
Actually, they didn't. The Chinese method is original, and in my opinion it is more stylistically correct than the Russian method. In fact, I would recommend using the Chinese method for localization rather than the Russian method, which involves editing Unicode strings in a binary shared object library.

One of these days I may make my own Russification based on the Chinese method (although as it is now, I am totally happy with English menus). This method would allow switching localization (English/Russian) via a submenu, like we can do with the clock.

Heh, something new learnt today. I'm looking forward to your implementation of the submenu for localization switching :)

seajewel
07-28-2008, 02:49 PM
Nevermind, I'm just learning how to use this Universal Flasher. Crossing my fingers!

IMO, they probably modified the russification code.

edit: attached the rar instead.

JeffElkins
07-28-2008, 03:28 PM
That's been around (http://projects.mobileread.com/reader/users/porkupan/kBookIcon.1.1.00.18040.mod.zip) for a while. :xmas:

Hey, Porkupan!

When I try to use this icon set I get the error:

error while flashing partition! it is
recommended to switch to recovery
mode and use Sony Flasher to
flash a stock image


Any idea whats up?

porkupan
07-28-2008, 04:57 PM
I would try reflashing the stock image and then flashing with Universal Flasher. I am not sure what the problem is, igorsk would be better able to help, I just have never encountered this one. If I hit this problem, I will debug it. Maybe you could post the log file - something in there might point us in the right direction?

JeffElkins
07-28-2008, 05:21 PM
I would try reflashing the stock image and then flashing with Universal Flasher. I am not sure what the problem is, igorsk would be better able to help, I just have never encountered this one. If I hit this problem, I will debug it. Maybe you could post the log file - something in there might point us in the right direction?

I just did that and am sorry to say that no logs whatsoever were produced. :(

Just to make sure that I'm being clear, first I copied the new icon png file to new_opt/sony/ebook/application/resources/scripts/kBookIcon.png, overwriting the older file. Then I ran mkcramfs new_opt/ new_opt.img. Then copied the resulting img file to the root of the sd card. Option 4. followed by Option 6. Error. No log.

Second, I copied the new icon png file to sdroot/files....040/opt/sony/ebook/application/resources/scripts/kBookIcon.png. Option 5. followed by Option 6. Error.No log.

Thanks!

gwynevans
07-28-2008, 05:37 PM
I would try reflashing the stock image and then flashing with Universal Flasher. I am not sure what the problem is, igorsk would be better able to help, I just have never encountered this one. If I hit this problem, I will debug it. Maybe you could post the log file - something in there might point us in the right direction?

Similar issue here, in that if I place the image file next to the main.xml, I can use menu-5 to create an image sucessfully (See attached zipped log) but menu-6 quickly shows the same error as Jeff reports, with no other logs.

The reader's fine & doesn't need any recovery & I was able to flash it via the Universal Flasher, without the png file, just not with it...

porkupan
07-28-2008, 05:43 PM
If I am not mistaken, igorsk wrote in this forum, that the Universal Flasher needs to be fixed to be able to burn ready-made images:

Edit the target.doDigit4 function in autorun.js.
Change:
if (!this.copyFile(this.driveroot+"/new_opt.img","/tmp/new_opt.img"))
to

this.runCommand("mkdir /tmp/self_upgrade");
if (!this.copyFile(this.driveroot+"/new_opt.img","/tmp/self_upgrade/new_opt.img"))

JeffElkins
07-28-2008, 05:51 PM
If I am not mistaken, igorsk wrote in this forum, that the Universal Flasher needs to be fixed to be able to burn ready-made images:

Correct, that was in response to me in another thread. That's done on my end, don't know about Gwynevans.

porkupan
07-28-2008, 05:54 PM
Yeah, this is strange. As if something in the background is clearing the /tmp directory. Weird stuff indeed. The resulting image is definitely not too big to fit in the partition allotted for Fsk.

I would try to reboot (shut down, then turn it on) the Reader and not open any books before trying the Universal Flasher.

porkupan
07-28-2008, 05:56 PM
The other thing you can try.

1) Hit 4 or 5, make the image
2) Take the SD card out.
3) Put the SD card back in.
4) When the menu pops up, hit 6.

May not help, but it doesn't hurt to try. You should see flash_opt.log somewhere though...

JeffElkins
07-28-2008, 06:09 PM
The other thing you can try.

1) Hit 4 or 5, make the image
2) Take the SD card out.
3) Put the SD card back in.
4) When the menu pops up, hit 6.

May not help, but it doesn't hurt to try. You should see flash_opt.log somewhere though...

I did a #5,#6 but not joy. I did get a log though...(no flash.log)

porkupan
07-28-2008, 06:16 PM
Well, this error seems to indicate that the internal flashing utility nblsdm can no longer flash this reader with the Fsk image of larger size than what's already been flashed. Why - not sure. My advice is to reflash with the stock flasher, then try again.

gwynevans
07-28-2008, 06:38 PM
Correct, that was in response to me in another thread. That's done on my end, don't know about Gwynevans.

I've not done that because I've not been trying with pre-made images - just making one each time via menu-5, but I can't seem to get it to report what the problem is...

igorsk
07-28-2008, 06:54 PM
Hmm I think I've seen this before... nblsdm needs to be passed a parameter with the partiton size. Until I get around to implement that, reflashing with stock updater should allow you to flash a custom image again.

gwynevans
07-28-2008, 07:21 PM
Well, this error seems to indicate that the internal flashing utility nblsdm can no longer flash this reader with the Fsk image of larger size than what's already been flashed. Why - not sure. My advice is to reflash with the stock flasher, then try again.

That fixed it for me, albeit with a bit of concern 'till I got the firmware to reflash, but was then able to flash an image with the new icons too.

/Gwyn

JeffElkins
07-28-2008, 07:30 PM
Hmm I think I've seen this before... nblsdm needs to be passed a parameter with the partiton size. Until I get around to implement that, reflashing with stock updater should allow you to flash a custom image again.

Unfortunately, the flasher refused to reflash: it said I was up-to-date :(

It's weird trying to figure out a way to brick my reader...The mind boggles! :)

igorsk
07-28-2008, 07:50 PM
Edit the PRSVersion.dat inside the flasher (unzip it first) and change the last 0 to 1. This will enable reflashing.

JeffElkins
07-28-2008, 09:37 PM
Hmm I think I've seen this before... nblsdm needs to be passed a parameter with the partiton size. Until I get around to implement that, reflashing with stock updater should allow you to flash a custom image again.


Edit the PRSVersion.dat inside the flasher (unzip it first) and change the last 0 to 1. This will enable reflashing.

Thank you Igorsk! That worked perfectly. I did both a #5,#6 and a #4,#6 (after rebuilding an image on my box). Can you post a bit about nblsdm? I see it referenced in make_opt.sh(commented out), but google tells me little. I was looking for a man page...

SurgE
07-28-2008, 10:33 PM
It's weird trying to figure out a way to brick my reader...The mind boggles! :)

I LOLed in real life when I read this :rofl:

porkupan
07-28-2008, 11:28 PM
Heh, something new learnt today. I'm looking forward to your implementation of the submenu for localization switching :)
Well, I did get around to make a Russian localized menu using the Chinese method. It wasn't too hard to make a variable (using the example from Shade's clock), and make the localization dependent on the variable.

The image is here (http://projects.mobileread.com/reader/users/porkupan/cramfs.Fsk.PRS505.1.1.00.18040.Rus.icons.clock.joy st.loc.zip), if you want to take a peek. I didn't localize the strings hard coded in main.xml - I didn't really figure out how to make a global function that I could use to set the string variables for all sorts of strings. So, the menu is generally localized, but the hard coded strings (i.e. "Press MARK to shutdown device") are not. I could have easily overwritten those by Unicode Russian strings (as was done in the Chinese FW), but then the English users wouldn't be able to read them.

My intent was firstly to show that the menu language can be dynamically switched, and that it is not difficult at all to make a multi-language menu in the Sony Reader.

The image has forward paging with joystick, long-Enter-press shutdown, Russian Unicode fonts with Eastern European support, Shade's clock and the menu localization (experimental at this point). The localization can be turned on and off by pressing the "1" key on the About page. The "0" key is still reserved for the clock options. :)

gwynevans
07-29-2008, 05:14 AM
Unfortunately, the flasher refused to reflash: it said I was up-to-date :(

It's weird trying to figure out a way to brick my reader...The mind boggles! :)

The menu-7(?) option on the flasher - something like "Enter firmware update mode" is the method I used.

seajewel
07-29-2008, 08:48 AM
What seems to be the font size limit? 5 megs?

JeffElkins
07-29-2008, 08:50 AM
The menu-7(?) option on the flasher - something like "Enter firmware update mode" is the method I used.

I don't see a menu. Just a oval button, "click below to update."

JeffElkins
07-29-2008, 09:24 AM
Anyone played with the raw.BootImg.img? It's not cramfs or squashfs...

seajewel
07-29-2008, 09:43 AM
I've been trying to use the Universal Flasher to unify the menu text and to exchange fonts. I can run 5: make a new image fine, but 6 gives me "The new cramfs image is too big for flashing" .. I've tried reinstallign the stock firmware as noted in this thread, but still no go. My font files are 2.1mb in size each. I even tried changing the dutch801 to the stock font because I don't think it's used in the text or body of books on the Reader. So total of the new fonts would be less than 5 mbs.. What is the problem? Please help me! I was looking forward to this function SO much, and now it'll be back to the days of having to reset every time I want to upload a new book. :(

P.S. I do not need a clock, so if I can reduce the size of the cramfs image by getting rid of the clock, I would gladly do so. What files should I delete from my Flasher files? Thanks!

igorsk
07-29-2008, 09:55 AM
Anyone played with the raw.BootImg.img? It's not cramfs or squashfs...
It is sent directly to the frambuffer to display the boot image ("Starting Up...").
Seems to be a raw 800x600 8bpp image.

JeffElkins
07-29-2008, 10:08 AM
It is sent directly to the frambuffer to display the boot image ("Starting Up...").
Seems to be a raw 800x600 8bpp image.

File reports that: raw.BootImg.img: DOS executable (device driver) for DOS. Never would have figured it for an graphics file. Thanks Igorsk.

seajewel
07-29-2008, 10:53 AM
for anyone having the problem with font sizes, i just replaced the text font with my font of choice .. the dutch801 font is the body font, btw and it worked. with no other files placed in the FONT folder, the default font is kept for the menu and my font is used in the body text. However, trying to use body+menu font made the cramfs file too big, as did trying to replace only the menu font after having already applied the body font.

gwynevans
07-29-2008, 11:36 AM
I don't see a menu. Just a oval button, "click below to update."

The menu on the Universal Flasher ("7: switch to firmware update mode") :-)

SurgE
07-29-2008, 11:41 AM
for anyone having the problem with font sizes, i just replaced the text font with my font of choice .. the dutch801 font is the body font, btw and it worked. with no other files placed in the FONT folder, the default font is kept for the menu and my font is used in the body text. However, trying to use body+menu font made the cramfs file too big, as did trying to replace only the menu font after having already applied the body font.

I encountered the same problem trying to add chinese fonts support to my Reader. The set of chinese fonts came up to 12mb in total, exceeding the 7mb cap on cramfs file size. My work around is to put the fonts in the /Data directory and mount it over /opt.

JeffElkins
07-29-2008, 11:46 AM
The menu on the Universal Flasher ("7: switch to firmware update mode") :-)

Oh, I see what you mean. Thanks.

seajewel
07-29-2008, 11:48 AM
Do this to reflash when you're "up-to-date"

Edit the PRSVersion.dat inside the flasher (unzip it first) and change the last 0 to 1. This will enable reflashing.

seajewel
07-29-2008, 12:18 PM
Could you give me more detailed directions on how to do this? I'm not really sure how to go about it and I would really appreciate it! :)

I encountered the same problem trying to add chinese fonts support to my Reader. The set of chinese fonts came up to 12mb in total, exceeding the 7mb cap on cramfs file size. My work around is to put the fonts in the /Data directory and mount it over /opt.

SurgE
07-29-2008, 01:09 PM
Could you give me more detailed directions on how to do this? I'm not really sure how to go about it and I would really appreciate it! :)

No problem, here's how i did it:

Part 1, dealing with the Reader's internal memory:

I created a folder called "Custom" inside my reader's internal memory.
Inside the folder, I have a folder called "FONT"
I placed my custom fonts inside the FONT folder. You MUST put all 3 fonts.
I create a script file(i.e. "custom.sh") inside the "Custom" folder. Inside the folder, I put the following code:
#!/bin/sh
if [ -d /Data/Custom/FONT ]; then
mount --bind /Data/Custom/FONT /opt/sony/ebook/FONT
fi


Once that is done, you need to setup our firmware to execute the "custom.sh" file whenever it boots. you can do this by modifying tinyhttp.sh to run this sh file. Here's my implementation:

Part 2, dealing with the universal flasher(i assume you have it on a memstick)

get a copy of tinyhttp.sh and place it in "files.505.1.1.00.18040\opt\sony\ebook\bin\"
open up the file and add in the following code after the "date" command
mount -t vfat -o rw,shortname=winnt /dev/mtdblock17 /Data
sh /Data/Custom/custom.sh
Once that's done, you can flash in the files.


This is what I've done, much thanks to all the people on mobileread and hi-pda for their work :)

seajewel
07-29-2008, 10:29 PM
Thank you very much for the detailed explanation! I also just got a good tip that works for my purposes, since my font is small enough to fit one file into the cramfs image. If your font is around 2100kb or less (this is my experience, but maybe larger fonts work), you can place that one file, say Dutch801 Rm BT (tt0011m_.ttf) into the FONT part of the flasher, and then edit the main.xml file within files.505.1.1.00.18040\opt\sony\ebook\application\ resources\scripts\main.xml and replace all the <style font="...."> with Dutch801 Rm BT instead of Swis721 BT, etc.

OldReader
07-31-2008, 10:25 AM
I have the 1.1.00.18040 installed on my PRS-505.

I really miss the Clock, the Off Button, and the Pause control added to the Volume controls that were in the hack for the previous firmware. I can only read English, so I don't need the other languages.

If there is a way to do this now for without loosing the new firmware, could someone show me how?

Think of me (and others of my age group) as an old guy who couldn't hack a banana without detailed instructions.

Sure would be appreciated!

OldReader

seajewel
07-31-2008, 12:01 PM
read the first page of the HACKING CONCLUSIONS AND GUIDE thread. Do what you find there. that will take care of everything but device shutdown from what i recall (it may be the 2nd page, but one or the other).. for device shut down, you have to go to the applicationStart.xml file inside the Universal Flasher under files.505...18040\opt\sony\ebook\application\resou rces and edit that file by notepad or whatever, find the part that looks like this <boolean key="0x27-hold" do="doCentre"/> and change it to <boolean key="0x27-hold" do="doDeviceShutdown"/>.

Then run the flasher. make sure you've done all the things from the other thread and this shutdown method before you run the flasher .

If you need to reflash because you forgot something, unzip the stock updater from sony and edit PRSVersion.dat file to say 1 instead of 0 at the very end so you can re-flash to the stock firmware at anytime.

SurgE
07-31-2008, 12:39 PM
I have the 1.1.00.18040 installed on my PRS-505.

I really miss the Clock, the Off Button, and the Pause control added to the Volume controls that were in the hack for the previous firmware. I can only read English, so I don't need the other languages.

If there is a way to do this now for without loosing the new firmware, could someone show me how?

Think of me (and others of my age group) as an old guy who couldn't hack a banana without detailed instructions.

Sure would be appreciated!

OldReader

I remember we do have this utility called hack builder for the 500, which lets u build an img with the hacks u want. You might wanna bug the dev to release an updated version for the 505 :P

pikoman
02-22-2009, 07:59 AM
No problem, here's how i did it:

Part 1, dealing with the Reader's internal memory:

I created a folder called "Custom" inside my reader's internal memory.
Inside the folder, I have a folder called "FONT"
I placed my custom fonts inside the FONT folder. You MUST put all 3 fonts.
I create a script file(i.e. "custom.sh") inside the "Custom" folder. Inside the folder, I put the following code:
#!/bin/sh
if [ -d /Data/Custom/FONT ]; then
mount --bind /Data/Custom/FONT /opt/sony/ebook/FONT
fi


Once that is done, you need to setup our firmware to execute the "custom.sh" file whenever it boots. you can do this by modifying tinyhttp.sh to run this sh file. Here's my implementation:

Part 2, dealing with the universal flasher(i assume you have it on a memstick)

get a copy of tinyhttp.sh and place it in "files.505.1.1.00.18040\opt\sony\ebook\bin\"
open up the file and add in the following code after the "date" command
mount -t vfat -o rw,shortname=winnt /dev/mtdblock17 /Data
sh /Data/Custom/custom.sh
Once that's done, you can flash in the files.


This is what I've done, much thanks to all the people on mobileread and hi-pda for their work :)

Hi, I'm new in this forum and I want to mount chinese fonts in my prs505 using your method. How can I get a copy of tinyhttp.sh?
Many thanks.