Thursday, May 14th, 2009 | Author: Tim

Your Ad Here
So a few days ago I got an email concerning the HTC PDF viewer which apparently comes bundled with the HTC Sapphire. Saddly, there has not yet been a release of it for the HTC Dream. The original thread on xda-developers can be found here which essentially was what the person was directing me too. The problem with this apk seemed to be that it was “locked” to HTC only devices… But - the HTC Dream is an HTC device, right? Not according to this program…

What? HTC Dream IS HTC?!

What? HTC Dream IS HTC?!


Anyway - long story short, success! I’ve successfully patched the file so that it should be able to be loaded on any HTC Android device. Have a blast reading your pdfs now!

FTW

FTW

Required files for this to work;

libpdfreader.so
FilePicker.apk

libpdfreader.so must be pushed using adb (or shell) to /system/lib
FilePicker.apk must be pushed using adb (or shell) to /system/app

Note: To push the files to /system, you will need to remount it as rw with the following command:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

Finally — download and install (either through adb or your favorite package installer) the patched apk! You can download that here, PDFViewer.apk. This was tested on JF 1.5 and 1.45 and seems to work perfect. Please post your programs if any should arise.

Enjoy! :)

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

31 Responses

  1. Sweet work, it worked like a charm!! *thumbs up*

  2. 2
    arqueware 
    Friday, 15. May 2009

    works great. one question: the ‘about’ screen shown in the howto never displays; the app goes straight to filepicker and searches for PDFs; nor are there any options when the menu key is pressed. Is this normal behavior?

    Your blog is pretty impressive; keep up the excellent work.

  3. @arqueware

    The about section is available after you load a pdf, please menu - then you can select it. I just took a screen shot of it since it shows you can get past the “HTC Device” restriction. ;)

  4. nice job!

  5. Works on HTC Magic. well done!

  6. Wow, this is an awesome find! And great work on the patch! Works excellent on the G1, and very fast, too. (I have to admit, it’s on par with my laptop on that. XD)

  7. Could someone tell me how to do this step by step. I have a rooted phone with terminal and can not fiigure this out. Thanls

  8. Doesn’t work on htc dream. It shows a window with: “programm reagiert nicht” and a button close.
    Can anybody help me please?

  9. How do you get root permissions to change. The operation fails everytime I try the mount command. I have the RC43

  10. Excellent, worked like a charm on my HTC Magic after rooting it (http://android-dls.com/wiki/index.php?title=Magic_Rooting)

  11. Works nice!

    Note: I had to rename the FilePicker.zip to be FilePicker.apk for the PDFViewier.apk to successfully install.

  12. know how to remount using cygwin/ XP ? thanks…

  13. i had not enough free space, but the Maps.apk is useless, when you have installed the new one, so you can delete it in /system/app.

    and now it works perfect, thanks

  14. You should do the same with HTC Calendar, Flash, QuickOffice, etc…

  15. Could you do your magic and make this work with the new 4.1.999 CM. :)

    The lib requires something that’s not there:
    I/dalvikvm( 450): Unable to dlopen(/system/lib/libpdfreader.so): Cannot load library: reloc_library[1172]: 89 cannot locate ‘FT_Get_Glyph’…

  16. I have a donut 1.6 ROM and PDFViewer is Force Closing. Any chance you can update the file to work with 1.6?

  17. Hi!
    Can not make the system rw with that command. It’s said read only file system. Thanks

  18. Hi, I know this post is way outdated, but since it seems like you know how to make a workaround to get the htc pdfreader to work, I thought I would ask you to do it again for the cyanogen’s current donut build :)
    I’ve tried many ways trying to get it to work but basically, it still doesn’t. In the logcat, when I try to run the pdf viewer app, it says this:
    Caused by: java.lang.UnsatisfiedLinkError: Library pdfreader not found
    And it force closes. Maybe you can fix it? :)

  19. @yuri - you’ll need to remount the file system

    @shaneaus and tim, feel free to email me and we can try some stuff out

  20. Yeah, I’m with jeremiah….the only way I rooted was with a superly noobish guide from youtube…and the only way I got cyanogen is cause I sorta knew what to do from PSP hacking…but I’m not really sure with the commands and all.
    I have no idea why it needs to “remount”, and I have no idea how to PUSH the files. I’ve tried with Astro(file manager), but it just gives me an error everytime I try to transfer the files to the root folder. Any help? Please?

  21. Ah, and did the fix ever work for Tim? I just had to downgrade to get it..

  22. anyone found a way to make this work on donut-based cyanogenmod?

  1. [...] Check it out his awesome work - http://strazzere.com/blog/?p=266 [...]

  2. [...] Ecco l’articolo e l’app che fa per voi! strazzere.com Blog Archive PDFViewer (working) on JF 1.5 and other builds [...]

  3. 25
    Mobiele Telefoons » Got Root? Then here is how to install the HTC PDF reader on your … (via Pingback)
    Thursday, 4. June 2009

    [...] Root? Then here is how to install the HTC PDF reader on your G1. http://bit.ly/3jKQ70 Tags: fresh, [...]

  4. [...] System Image Weiters wurde die unslaved mit folgendem erweitert: New HTC IME! @ haykuro?s blog strazzere.com Blog Archive PDFViewer (working) on JF 1.5 and other builds __________________ G1 - [...]

  5. [...] daf?r brauchst du aber root und musst ein paar Dateien in die richtigen Verzeichnisse kopieren. strazzere.com Blog Archive PDFViewer (working) on JF 1.5 and other builds Eine einfachere M?glichkeit ist RepliGo Reader aus dem Market, der sollte auch gehen. Kostet aber [...]

  6. [...] den PDFViewer angeht. Der hat einige Abh?ngigkeiten. Da reicht es nicht nur die .apk einzuspielen. (mehr Info’s) __________________ HTC Magic [...]

  7. [...] http://strazzere.com/blog/?p=266 Tags:adobe,android,G1,HTC,pdf Related [...]

  8. [...] Originally Posted by Xenon OK, this is really becoming annoying. Still no progress whatsoever. I want to have a proper PDF reader and the only two I know of aren’t free (RepliGo and BeamReader). But since one can’t buy them (without rooting the phone) one can’t properly use PDF on the Galaxy in Croatia. I’d think that the ability to use common office formats is one of the major selling points of smartphones. You can install a modified version of the HTC PDF Reader, you need root access, the instructions are found here: strazzere.com Blog Archive PDFViewer (working) on JF 1.5 and other builds [...]

  9. [...] HTC PDF Reader Vi traduco la guida trovata qui per installare l’ottimo PDF Reader by HTC sul nostro Spica. File necessari (da copiare sulla sd): [...]

Leave a Reply