Thread: PRS-T1 getting adb working
View Single Post
Old 02-26-2012, 09:36 AM   #48
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 xuyn2003 View Post
But as I tested in terminal, the script will always sleep 30 seconds.
That is, ( grep -c "/mnt/sdcard" /proc/mounts ) is always return FALSE.
I suppose that it returns always FALSE if you donīt have busybox correctly installed, as you don't have a 'grep' command... try 'busybox grep' instead...


Quote:
Originally Posted by xuyn2003 View Post
And, before /mnt/sdcard/ was mounted, the system had already loaded some fonts from /ebook/fonts, such as DroidSans.ttf.
It's very possible you are right


Quote:
Originally Posted by xuyn2003 View Post
I want the system load all fonts from /sdcard/fonts, so it's better to mount /mnt/sdcard/ at first directly, then bind /sdcard/fonts to /ebook/fonts as soon as possible. Not to wait the system to mount the sdcard.
Again, I suppose this can only be solved by using one of the other approachs: to edit the boot image (very dangerous) or to edit the fonts cramfs image (very easy) and replace the system fonts.
j0534ng31 is offline   Reply With Quote