Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-03-2012, 04:44 AM   #16
dare
Member
dare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead communitydare has become a pillar of the MobileRead community
 
Posts: 14
Karma: 15762
Join Date: Jan 2012
Device: Sony PRS-T1, Kindle Keyboard
Quote:
Originally Posted by giosa View Post
Will this procedure S-off/NAND unlock my PRS T1?My goal is to change system font by using Font Changer (root) app. For this app to work it requires *FULL ROOT* (aka NAND unlocked or S-OFF)
I don't know about the app, but the PRS-T1 does not have a NAND lock in the strict sense. The only thing you do in following the instructions is remounting the system partition as writeable.
If you are rooted, you also can simply use the Root Explorer supplied to remount the partition where your app access the fonts (button at the top). But if the app is clever enough, you wouldn't even need it, it would remount without you having to do it.
dare is offline   Reply With Quote
Old 02-03-2012, 11:36 AM   #17
porkupan
Fanatic
porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.porkupan ought to be getting tired of karma fortunes by now.
 
porkupan's Avatar
 
Posts: 554
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
The fonts partition is CRAMFS, it cannot be remounted for RW. It has nothing to do with any "NAND locks". The CRAMFS partitions can only be fully reprogrammed/reflashed.
porkupan is online now   Reply With Quote
Old 02-03-2012, 02:51 PM   #18
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by giosa View Post
Hi, I need to mount /system partition in read-write mode.
To mount any partition in read-write mode: mount -o remount,rw device mountpoint
i.e., 'system' filesystem:
Code:
mount -o remount,rw /dev/block/mmcblk2p10 /system
i.e., 'root' filesystem:
Code:
mount -o remount,rw rootfs /

Quote:
Originally Posted by giosa View Post
Will this procedure S-off/NAND unlock my PRS T1?
For this app to work it requires *FULL ROOT* (aka NAND unlocked or S-OFF)
You are speaking about some other device (HTC?), not a PRS-T1...

PRS T1 is NAND 'unlocked' by default.
AFAIK 'NAND unlock' and 'S-OFF' has nothing to do with 'FULL ROOT'... besides, you have 'full root' now.

Quote:
Originally Posted by giosa View Post
My goal is to change system font by using Font Changer (root) app.
You cannot do it this way...

As porkupan has told you:
Quote:
Originally Posted by porkupan View Post
The fonts partition is CRAMFS, it cannot be remounted for RW. It has nothing to do with any "NAND locks". The CRAMFS partitions can only be fully reprogrammed/reflashed.
He has also given to you (somewhere, I can't remember where just now) the full explanation of this solution, and one other option, i.e., to bind mount the font folder with some other folder containing your desired fonts.
j0534ng31 is offline   Reply With Quote
Old 02-04-2012, 02:09 AM   #19
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
Quote:
Originally Posted by j0534ng31 View Post

You cannot do it this way...

As porkupan has told you:

He has also given to you (somewhere, I can't remember where just now) the full explanation of this solution, and one other option, i.e., to bind mount the font folder with some other folder containing your desired fonts.
Yes he did and I'm grateful for that.
I read there that mount -bind method to overwrite the system is not reliable method, the post said it need some apk to be installed to remount every time a device is restarted. That's why I've decided to go with modifying cramfs file for system fonts.

I'm trying to implement 1st option.

1st thing I need to do is to get fonts cramfs file to external microSD to transfer it later to PC to modify it.

I've made the following: Entered into recovery mode by using the app "@Test Mode"
Then, started Terminal emulator and typed the command

dd if=/dev/mmcblk2p5 of=/mnt/sd/mmcblk2p5_fonts.img

the result was

dev/mmcblk2p5: cannot open for read: No such file or directory

Apparently my device path is different ?!

Last edited by giosa; 02-04-2012 at 02:12 AM.
giosa is offline   Reply With Quote
Old 02-04-2012, 03:27 AM   #20
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
I looked and could not find mmcblk2p5 on /dev directory of my PRSt=T1?
giosa is offline   Reply With Quote
Old 02-04-2012, 04:17 AM   #21
snarkophilus
Wannabe Connoisseur
snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.snarkophilus ought to be getting tired of karma fortunes by now.
 
Posts: 242
Karma: 1009530
Join Date: Apr 2011
Location: Geelong, Australia
Device: Sony PRS-T1, Sony PRS-350, Palm TX
Quote:
Originally Posted by giosa View Post
I looked and could not find mmcblk2p5 on /dev directory of my PRSt=T1?
In the other thread you've been posting in today, we've established that mmcblk2p5 is in a different directory...

Please be aware that you're playing around at a very low level on your T1. Be prepared for the possibility that you may brick your device. I can't find the thread with a quick look, but I think someone else on this forum overwrote the bootloader so that even the recovery flash image no longer worked.

Cheers,
Simon.
snarkophilus is offline   Reply With Quote
Old 02-04-2012, 09:32 AM   #22
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
Quote:
Originally Posted by snarkophilus View Post
In the other thread you've been posting in today, we've established that mmcblk2p5 is in a different directory...
Sorry for posting into two threads. I'm restrained to accomplish what I had tried to to, until more info is posted buy other members.

Thanks Simon for your dedication.
giosa is offline   Reply With Quote
Old 02-04-2012, 10:37 AM   #23
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
giosa,

Please, try this (while booted in 'normal mode'):

Code:
dd if=/dev/block/mmcblk2p5 of=/cache/fonts.img
If it works (it works for me), then you can copy /cache/fonts.img to the sdcard or push it to your PC by using adb...

Then you can use the cramfs tools to play a bit with the fonts image (to learn only, or to extract it somewhere)...

Anyway, I think its a better and sure approach to bind mount a modified copy of /ebook/fonts folder...

It's not automatic, but if it works right you can automate it by adding the bind mount command to one of the scripts that are already executed at boot time...

As Boroda has told you, it's always better to try the manual proccess first and then (if you obtain the desired result), try to find a way to automate it... I can also tell you that it's possible.

Last edited by j0534ng31; 02-04-2012 at 10:39 AM.
j0534ng31 is offline   Reply With Quote
Old 02-04-2012, 12:07 PM   #24
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
Quote:
Please, try this (while booted in 'normal mode'):

Code:
dd if=/dev/block/mmcblk2p5 of=/cache/fonts.img
If it works (it works for me)
I've used this dd if=/dev/block/mmcblk2p5 of=/mnt/sdcard/mmcblk2p5_fonts.img and it dumped mmcblk2p5_fonts.img file into READER partition

Quote:
then you can copy /cache/fonts.img to the sdcard or push it to your PC by using adb...
I've send mmcblk2p5_fonts.img to PC via Dropbox.

Quote:
Then you can use the cramfs tools to play a bit with the fonts image (to learn only, or to extract it somewhere)...
Now I gonna play with it, see what's inside.


Quote:
Anyway, I think its a better and sure approach to bind mount a modified copy of /ebook/fonts folder...

It's not automatic, but if it works right you can automate it by adding the bind mount command to one of the scripts that are already executed at boot time...

As Boroda has told you, it's always better to try the manual proccess first and then (if you obtain the desired result), try to find a way to automate it... I can also tell you that it's possible.
You mean "bind mount" method by "manual proccess"?
giosa is offline   Reply With Quote
Old 02-04-2012, 01:19 PM   #25
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by giosa View Post
Now I gonna play with it, see what's inside.
Exactly the same contents as in /ebook/fonts folder... Not a big surprise.

Quote:
Originally Posted by giosa View Post
You mean "bind mount" method by "manual proccess"?
Yes, I mean that you can try to bind mount it manually, just to see if it works the way you expect to...

After that, we'll see what's the best method to automate the bind mount proccess.

I'm sorry!... English, obviously, is not my native language

Last edited by j0534ng31; 02-04-2012 at 01:29 PM.
j0534ng31 is offline   Reply With Quote
Old 02-04-2012, 03:30 PM   #26
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
Quote:
Originally Posted by j0534ng31 View Post
Exactly the same contents as in /ebook/fonts folder... Not a big surprise.
yes, sounds right.


Quote:
Yes, I mean that you can try to bind mount it manually, just to see if it works the way you expect to...

After that, we'll see what's the best method to automate the bind mount proccess.

I'm sorry!... English, obviously, is not my native language
Thank you. I'm totally into cramfs method for now, if it doesn't work let's try bind mount method.

Let me share what I've done so far.

1. I've got mmcblk2p5_fonts.img to my PC. it was about 16MB.
2. I've upacked it with cramfsck and as you said it extracted /book/fonts content. I've renamed my font file to DroidSansFallback.ttf original DroidSansFallback was about 3.4MB (btw when I tried to view it in windows fonts view it said not valid font file, others opened OK) and replaced the original with it.
3. Then I repacked the folder with fonts back to mmcblk2p5_fonts.img
Original img was 16MB now it's 10MB

So it looks like it's ready to be written back to PRS T1, but I think there's high risk to brick the device.

which is you're mother language?
giosa is offline   Reply With Quote
Old 02-05-2012, 02:19 AM   #27
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by giosa View Post
I'm totally into cramfs method for now, if it doesn't work let's try bind mount method.
Too late...

I'm not trying to be rude, but I mean, you don't seem to fully understand the procedure nor to be capable by yourself to imagine how to do this (quite easy) task... (You've asked for help to porkupan/boroda here and at the-ebook.org, snarkophilus at the other thread,...) And you should know how to do it, what are the risks of each option and how to be prepared to solve the posible problems.

However, you say that you are sure you are going to use the cramfs method... of course, the dangerous one...

After the dangerous one goes wrong then... perhaps you'll have a bricked T1 and there will be no 'after'...

Do you understand what I'm trying to tell you?

You seem to be so resolved to change those fonts, that you are risking your T1... I think it's better to learn first and, then, make so much adjustments as you want...

The cramfs method is a bit risky, but with your little 10MB font image there is 'almost' no risk...
However, the bind mount method has NO risk at all (if something goes wrong, you only have to reboot), it can be used to learn how the T1 fonts work and it's an easy and painless way to try a big amount of fonts...

At least, you should act on Boroda advice and learn how to boot in recovery mode with 'serial gadget console' enabled. So, if something goes wrong, you'll be capable to overwrite 'p5' with the original one.


Quote:
Originally Posted by giosa View Post
So it looks like it's ready to be written back to PRS T1, but I think there's high risk to brick the device.
There is no risk, provided that you don't make an unfortunate typo...

Be lucky!


Quote:
Originally Posted by giosa View Post
which is you're mother language?
I'm spanish
j0534ng31 is offline   Reply With Quote
Old 02-05-2012, 10:12 AM   #28
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
Quote:
Originally Posted by j0534ng31 View Post
Too late...
No, I'm not gonna do it till I'm sure what I'm doing. I'm happy going mount bind route, if you don't mind giving me detailed enough guide so I can follow it.

Quote:
I'm not trying to be rude, but I mean, you don't seem to fully understand the procedure nor to be capable by yourself to imagine how to do this (quite easy) task...
Now with all of you guys help I have an idea of the process. I can imagine, but doing is another thing. Everything is simple when you know how to handle it, you know what I mean

Quote:
(You've asked for help to porkupan/boroda here and at the-ebook.org, snarkophilus at the other thread,...) And you should know how to do it, what are the risks of each option and how to be prepared to solve the posible problems.
I guess there nothing bad in asking people who have more knowledge in this stuff then I do. That's one of the reasons forums like this exist.

Quote:
However, you say that you are sure you are going to use the cramfs method... of course, the dangerous one...

After the dangerous one goes wrong then... perhaps you'll have a bricked T1 and there will be no 'after'...
No once again, I'm ready to try bound mount method if give me detailed procedures I can follow. I'm not ignoring bound mount method, I just thought cramfs method is more neat, though more dangerous I agree.

Quote:
Do you understand what I'm trying to tell you?
Yes I do understand, thank you for warning me!

Quote:
You seem to be so resolved to change those fonts, that you are risking your T1... I think it's better to learn first and, then, make so much adjustments as you want...
Yes, I'm trying to learn, with your guys help. I'm grateful to all of you! But it's not easy, provided I never dealt with this kind of stuff before.

Quote:
The cramfs method is a bit risky, but with your little 10MB font image there is 'almost' no risk...
I've to things left to do to accomplish cramfs method:

1. Find out for sure, exactly which font(s) I need to substitute with my font (renamed as originals to replace)

2. Write modified mmcblk2p5.img back to PRS T1

I don't know how to go about these two things.

Quote:
However, the bind mount method has NO risk at all (if something goes wrong, you only have to reboot), it can be used to learn how the T1 fonts work and it's an easy and painless way to try a big amount of fonts...
Again I'm happy to follow you, just give me detailed enough steps and I'll follow your advice. Thank you.

Quote:
At least, you should act on Boroda advice and learn how to boot in recovery mode with 'serial gadget console' enabled. So, if something goes wrong, you'll be capable to overwrite 'p5' with the original one.
That's for sure.


Quote:
Be lucky!

I'm spanish
Thank you!

I'm unfortunately I can't speak Spanish, I do Russian though. I'm Georgian.
giosa is offline   Reply With Quote
Old 02-05-2012, 02:36 PM   #29
giosa
Connoisseur
giosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcovergiosa exercises by bench pressing the entire Harry Potter series in hardcover
 
Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
@j0534ng31

An example that will work, root required

1.Rename any of your favorite fonts set(a fonts set contains four fonts, normally regular,bold,italic,bolditalic to "VerdanaW1G.otf, VerdanaW1G-Bold.otf, VerdanaW1G-BoldItalic.otf, VerdanaW1G-Italic.otf" (your fonts can be either "ttf" or "otf", but you must rename them as the name listed above)

2.Copy all the fonts in /ebook/fonts/ to /sdcard/fonts/, then copy your renamed fonts in step1 to /sdcard/fonts/, so the orginal VerdanaW1G fonts will be replaced.

3. in terminal, type: mount -o bind /sdcard/fonts/ /ebook/fonts/

4. then in sony reader, select the font type "Vendana"

Note: After you binded /sdcard/fonts/ to /ebook/fonts/, if connect to the PC via usb&data transfer mode, this mothod will not work untill you disconnect the usb.
And, if you reboot your T1, the bind will also disappear, so I recommend to use GScript.apk to run this command easily once after the T1 was boot up.
--------------------------------------------------------------------------
Do you mean this method? if so I doubt it will solve my problem, because it doesn't seem to deal with book titles, TOC, bookmarks etc. it only helps change fonts in reader, am I wrong?
giosa is offline   Reply With Quote
Old 02-05-2012, 07:47 PM   #30
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by giosa View Post
An example that will work, root required
Yes, I suppose it should work, at least it's almost the same way I'll do it.


Quote:
Originally Posted by giosa View Post
1.Rename any of your favorite fonts set(a fonts set contains four fonts, normally regular,bold,italic,bolditalic to "VerdanaW1G.otf, VerdanaW1G-Bold.otf, VerdanaW1G-BoldItalic.otf, VerdanaW1G-Italic.otf" (your fonts can be either "ttf" or "otf", but you must rename them as the name listed above)
I don't know if this is required...

I mean, I suppose font file names must be renamed as "font_name"/"font_name-Regular", "font_name-Bold", "font_name-BoldItalic", "font_name-Italic" (always ended in .ttf or .otf)

But I don't know for sure if/why our new font name must replace an existing one.


Quote:
Originally Posted by giosa View Post
And, if you reboot your T1, the bind will also disappear, so I recommend to use GScript.apk to run this command easily once after the T1 was boot up.
You can also try to create a shell script as '/system/etc/install-recovery.sh' and add the bind command into it (instead of using GScript.apk).

This script should be automatically executed at boot time.


Quote:
Originally Posted by giosa View Post
Do you mean this method? if so I doubt it will solve my problem, because it doesn't seem to deal with book titles, TOC, bookmarks etc. it only helps change fonts in reader, am I wrong?
I don't know... I'll have to dig a bit more...

I suppose:
  • The clock font is 'Clockopia.ttf'.

  • The rest of system fonts must be 'tt0003m_.ttf', or 'tt0011m_.ttf', or 'tt0419m_.ttf', or...

  • They can be included into the font collection 'SWNMTeb.ttc'

I bet for 'tt0003m_.ttf' as menu font, and the font collection 'SWNMTeb.ttc' as the dictionary fonts



EDITED:

Some info I've found in a guide:
Quote:
The fonts that come with the Reader are Swis721 BT, Dutch801 Rm BT and Courier10 BT, with filenames tt0003m_.ttf, tt0011m_.ttf, tt0419m_.ttf, respectively. The font used for body text (that is, the text of the books) is Dutch801 Rm BT. The other two are mostly used around the Reader's interface (and sometimes for book titles).
The original document is not intended for our Sony model, but some of the info can still be useful. I've attached it to this message, but I cannot give the due credits because I can't remember when/where I've downloaded it.



About the way to write the modified cramfs, I'd boot in 'recovery mode', then I'd mount the sdcard filesystem to /mnt/sdcard or /tmp/sdcard, and then:

Code:
dd if=/mnt/sdcard/mynewfonts.img of=/dev/mmcblk2p5
Attached Files
File Type: pdf Guide to changing fonts v1.2.pdf (7.83 MB, 69 views)

Last edited by j0534ng31; 02-05-2012 at 10:02 PM.
j0534ng31 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
friend needs some help with adb emusan enTourage Archive 2 05-27-2011 02:00 PM
Curiosity ? What is ADB and why do I need it? Sethman Nook Developer's Corner 3 02-05-2011 04:44 PM
adb is not recognized jyl Nook Developer's Corner 3 01-18-2011 10:49 AM
Help with adb Thibor Nook Developer's Corner 5 12-05-2010 08:22 AM
Classic Using Adb rdfry Barnes & Noble NOOK 5 02-27-2010 09:19 PM


All times are GMT -4. The time now is 02:58 PM.


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