View Single Post
Old 02-09-2012, 08:23 PM   #4
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,058
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Quote:
I've run linux for years (though I'm not much of a hacker) so I tried to unpack SWUPDATE.BIN, but had no luck. I think I'll try the other method. I'm thinking of trying "rsh" or "get_root" for terminal access. Although I couldn't get either to work with the 2.1.2 firmware.
Search the net for a program called pbfwsplit.pl (I found a copy in the Russian PB forum). It's a perl script that unpacks the SWUPDATE.BIN file into pieces. One of the pieces is called app.img; mount that using loopback. For 2.0.6, look in the bin/ directory of the mounted filesystem for AdobeViewer.app. In newer firmware updates, there's a cramfs image inside that also needs to be mounted before you get to the copy of AdobeViewer.app

Quote:
/mnt/ext1 is the directory I'm put in when I mount the device's internal memory. Is that correct?
Yes, that's exactly right.

Quote:
If that is correct then I don't have a /mnt/ext1/system/config/extensions.cfg file. I do have the /mnt/ext1/system/config directory containing other .cfg files.
Create the file if you don't already have it, and copy in the line:

Code:
pdf:@PDF_file:1:XXXXX.app,AdobeViewer.app,pdfviewer.app:ICON_PDF
Replace XXXXX.app with whatever you rename the old AdobeViewer.app to.
rkomar is offline   Reply With Quote