View Single Post
Old 02-22-2009, 06:59 AM   #70
pikoman
Enthusiast
pikoman began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Feb 2009
Device: prs505, prs700, iriver story
Quote:
Originally Posted by SurgE View Post
No problem, here's how i did it:

Part 1, dealing with the Reader's internal memory:
  1. I created a folder called "Custom" inside my reader's internal memory.
  2. Inside the folder, I have a folder called "FONT"
  3. I placed my custom fonts inside the FONT folder. You MUST put all 3 fonts.
  4. I create a script file(i.e. "custom.sh") inside the "Custom" folder. Inside the folder, I put the following code:
    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)
  1. get a copy of tinyhttp.sh and place it in "files.505.1.1.00.18040\opt\sony\ebook\bin\"
  2. open up the file and add in the following code after the "date" command
    Code:
    mount -t vfat -o rw,shortname=winnt /dev/mtdblock17 /Data
    sh /Data/Custom/custom.sh
  3. 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.
pikoman is offline   Reply With Quote