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

Go Back   MobileRead Forums > E-Book Readers > PocketBook

Notices

Reply
 
Thread Tools Search this Thread
Old 05-19-2010, 07:29 PM   #1
tselling
Addict
tselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enough
 
Posts: 366
Karma: 510
Join Date: Apr 2008
Device: NookColor (MiRage/CM7.2 & Moon+ Reader Pro)
Hacked AdobeViewer.app with userstyle1.css

Ok, so I got tired of waiting for this to be provided officially or by another hacker so I did a bit of research. I managed to hack the AdobeViewer.app from my pb360 (version 14.2) with a hex editor. It allows a user accessible userstyle1.css file to have your own fonts, margins, etc with the AdobeViewer.app (ie for DRM'd epubs to include library epubs without having to remove the DRM).

Many thanks go to those who ported poterm for the pocketbook so I could actually get the orginal file, and to others who have hacked the sony readers that gave me the idea.

You can get my hacked version here: http://drop.io/pb360ade

Unzip the file and put the AdobeViewer.app file into "system/bin" directory on your pb360. The userstyle1.css file goes into the top directory of your pb360. Not where I would have wanted it but exact number of characters dictated it. Be sure to modify userstyle1.css to pick up your own fonts in the system/fonts directory (and change margins, alignment, etc to your preference). You may need to do some research for everything you can actually control with the stylesheet.

Hopefully this benefits others.... but it comes with no guarantees. Use at your own risk, etc, etc (but I only changed the location of the stylesheet). Let me know if any problems downloading it. Don't forget to select AdobeViewer instead of fbreader if you changed the default.

Last edited by tselling; 05-19-2010 at 08:17 PM.
tselling is offline   Reply With Quote
Old 05-19-2010, 08:41 PM   #2
Logseman
じゃんぬねっ
Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.
 
Logseman's Avatar
 
Posts: 1,941
Karma: 1027561
Join Date: Feb 2010
Location: Tenerife
Device: bq Cervantes Touch Light
I'll try it yet and tell you. Thanks for your time!
Logseman is offline   Reply With Quote
 
Advertisement
Old 05-19-2010, 08:46 PM   #3
Logseman
じゃんぬねっ
Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.Logseman ought to be getting tired of karma fortunes by now.
 
Logseman's Avatar
 
Posts: 1,941
Karma: 1027561
Join Date: Feb 2010
Location: Tenerife
Device: bq Cervantes Touch Light
I'm afraid I don't get it to work. When I open a PDF file with Adobeviewer it returns me to the last book I've finished reading, not to the one I'm opening...

Last edited by Logseman; 05-19-2010 at 08:53 PM.
Logseman is offline   Reply With Quote
Old 05-19-2010, 09:47 PM   #4
tselling
Addict
tselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enough
 
Posts: 366
Karma: 510
Join Date: Apr 2008
Device: NookColor (MiRage/CM7.2 & Moon+ Reader Pro)
The css file will not help for PDF files, only epubs (at least as far as I know).... but AdobeViewer.app should still open it. Make sure that the stylesheet file is named correctly and in the right place. It should be "userStyle1.css" and should be in the very top directory on your reader (not on the sdhc card). Likewise make sure you have the correct fonts on your reader in the /system/fonts directory on your reader (not the sdhc card) that are referenced in userStyle1.css.
tselling is offline   Reply With Quote
Old 05-20-2010, 04:08 AM   #5
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 2,835
Karma: 3142045
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Fantastic.
I do not read epubs in adobeviewer, but for people that read DRM protected epubs this is a godsend.
Thank you very much.
kacir is online now   Reply With Quote
Old 05-20-2010, 10:13 AM   #6
fjtorres
Grand Sorcerer
fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.
 
Posts: 7,925
Karma: 60862634
Join Date: May 2009
Location: 26 kly from Sgr A*
Device: PRS-T1, KT, PB701/IQ, K2, PB360, BeBook One, Axim51v, TC1000
Quote:
Originally Posted by tselling View Post
Don't forget to select AdobeViewer instead of fbreader if you changed the default.
Or to rename it and make it a third/fourth choice by editing the extensions.cfg file appropriately.

Thanks!
I'm no fan of ADE but this might actually make it usable.
fjtorres is offline   Reply With Quote
Old 05-20-2010, 10:15 AM   #7
fjtorres
Grand Sorcerer
fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.
 
Posts: 7,925
Karma: 60862634
Join Date: May 2009
Location: 26 kly from Sgr A*
Device: PRS-T1, KT, PB701/IQ, K2, PB360, BeBook One, Axim51v, TC1000
Out of curiosity; could you do the same process work on the 15.1 adobe viewer?
Not presuming to ask, just wondering if the process is limited to the older version.

Last edited by fjtorres; 05-20-2010 at 10:22 AM.
fjtorres is offline   Reply With Quote
Old 05-20-2010, 11:02 AM   #8
tselling
Addict
tselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enough
 
Posts: 366
Karma: 510
Join Date: Apr 2008
Device: NookColor (MiRage/CM7.2 & Moon+ Reader Pro)
Quote:
Originally Posted by fjtorres View Post
Out of curiosity; could you do the same process work on the 15.1 adobe viewer?
Not presuming to ask, just wondering if the process is limited to the older version.
Yes, it could easily be applied. But I don't have the 15.1 firmware installed since it is reportedly buggy. Is there anything really worth upgrading for in 15.1?
tselling is offline   Reply With Quote
Old 05-20-2010, 11:05 AM   #9
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,882
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
You have made my day, tselling, thank you so much!
I have been happily using this facility on my hacked Sony.

Now - how about adding a new tiny app, as has been successfully done in the Sony hack.

We could keep a bunch of our personal CSS files in a special system directory (e.g. system/css). The app would present us with a menu of those files and when one was selected it would be copied into the root directory as the special file "userStyle1.css". I know one could do this manually (using poterm or connecting to the PC) but an app would be so much more convenient.

This would "put the cherry on the top" and I feel sure someone of your skill and ability would enjoy bringing joy to so many (well me, at least)
jackie_w is online now   Reply With Quote
Old 05-20-2010, 12:41 PM   #10
fjtorres
Grand Sorcerer
fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.
 
Posts: 7,925
Karma: 60862634
Join Date: May 2009
Location: 26 kly from Sgr A*
Device: PRS-T1, KT, PB701/IQ, K2, PB360, BeBook One, Axim51v, TC1000
Quote:
Originally Posted by tselling View Post
Yes, it could easily be applied. But I don't have the 15.1 firmware installed since it is reportedly buggy. Is there anything really worth upgrading for in 15.1?
The most notable feature of Adobe Viewer in 15.1 is smaller side numbers (since they can't be avoided) and more zooming factors.

As I said, I was just wondering if the ADE-CSS tweak was only doable with 14.2 or if it might work with newer versions. Since it is, would you mind documenting the process for posterity?

Who knows? Maybe a future version of ADE will have a compelling feature or two beyond DRM support? (Not holding my breath, but...)

Or maybe the boys in Kiev will take notice and make the tweak official and permanent.
fjtorres is offline   Reply With Quote
Old 05-20-2010, 12:42 PM   #11
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,882
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Seems I was celebrating too soon. I also am having problems.

It seemed to work fine with my test file. However when I tried opening a couple of different epubs it opened my test file again. None of these epubs are commercial so DRM isn't an issue.

Also, FYI, I couldn't get it to work at all if I renamed it to ADE2.app in system/bin and changed extensions.cfg

Last edited by jackie_w; 05-20-2010 at 12:44 PM.
jackie_w is online now   Reply With Quote
Old 05-20-2010, 01:19 PM   #12
mgmueller
Member Retired
mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.mgmueller ought to be getting tired of karma fortunes by now.
 
mgmueller's Avatar
 
Posts: 3,308
Karma: 13024950
Join Date: Nov 2008
Location: Augsburg (near Munich), Germany
Device: 26 Readers, 44 Tablets
Quote:
Originally Posted by fjtorres View Post
The most notable feature of Adobe Viewer in 15.1 is smaller side numbers (since they can't be avoided) and more zooming factors.

As I said, I was just wondering if the ADE-CSS tweak was only doable with 14.2 or if it might work with newer versions. Since it is, would you mind documenting the process for posterity?

Who knows? Maybe a future version of ADE will have a compelling feature or two beyond DRM support? (Not holding my breath, but...)

Or maybe the boys in Kiev will take notice and make the tweak official and permanent.
Meaning, you're using 15.1? I've never tried it because of the reports about it being buggy. Can you recommend it? Is it stable enough?
mgmueller is offline   Reply With Quote
Old 05-20-2010, 04:04 PM   #13
fjtorres
Grand Sorcerer
fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.fjtorres ought to be getting tired of karma fortunes by now.
 
Posts: 7,925
Karma: 60862634
Join Date: May 2009
Location: 26 kly from Sgr A*
Device: PRS-T1, KT, PB701/IQ, K2, PB360, BeBook One, Axim51v, TC1000
I'm using 15.1, yes.
I installed it and got a couple crashes and was ready to go back to 14.2 when the word got out that a fix (15.2?) was due real.soon.now. So I waited...
Still...
...waiting...
I get about a crash/hang a week.
Which is...almost tolerable... but only because my first eink reader was/is a BeBook. So I'm used to regular crashes. Compared to the BeBook, 15.1 is a rock of stability.
Compared to 14.2? Not quite. I can see how it got out of Beta, though...
Everytime I get one I think about going back to 14.2 but since it means a full recharge first, I put it off...
Anyway, I live in 15.1 but I don't use ADE much.
I tried the new sizes and they're well-chosen but you can't get rid of the side numbers or the status bar, much less both as I prefer.
And since there's no way in... heck... I'm going to reward Adobe for hijacking epub I don't buy Adobe-drm'ed ebooks and I have no real need for ADE except when reading Calibre-captured magazines which are slavishly formatted for ADE's quirks and interpretations of the spec.

YMMV.
fjtorres is offline   Reply With Quote
Old 05-20-2010, 06:08 PM   #14
tselling
Addict
tselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enoughtselling will become famous soon enough
 
Posts: 366
Karma: 510
Join Date: Apr 2008
Device: NookColor (MiRage/CM7.2 & Moon+ Reader Pro)
I reuploaded the zip file. I copied the file directly from my PB360 to ensure I have the same version that is running for me without any problems. I have been using two test files, one with DRM and one without. I modified the css file slightly to fix a problem with one of my library books that has huge margins. I also added the fonts that I used in the css file. I also put the files in the directories they should be on the pb360. Maybe that will help since people can copy as is to their PB360 main memory and try it first before they need to start modifying any files.

http://drop.io/pb360ade

Quote:
Originally Posted by jackie_w View Post
Seems I was celebrating too soon. I also am having problems.

It seemed to work fine with my test file. However when I tried opening a couple of different epubs it opened my test file again. None of these epubs are commercial so DRM isn't an issue.

Also, FYI, I couldn't get it to work at all if I renamed it to ADE2.app in system/bin and changed extensions.cfg

Last edited by tselling; 05-20-2010 at 06:18 PM.
tselling is offline   Reply With Quote
Old 05-20-2010, 10:58 PM   #15
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,882
Karma: 4200035
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
Thank you for responding.

I have re-downloaded and tried a couple of my epubs with your fonts and CSS. That seemed to go OK. So I have now updated to my fonts and CSS. So far so good. I will see what happens tomorrow with more extended use. Now I'm really confused, but keeping my fingers crossed.

After the testing earlier today I had a further complication when my reader suddenly became unreadable by the PC and I had to reformat it all. I wondered whether the hacking had caused the problem. Now I'm wondering whether it was the other way round and the internal memory was already in trouble when I started to test your hack. Only time will tell.
jackie_w is online now   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
EPUB (CSS) tweaker app Loccy Conversion 9 01-23-2011 11:22 PM
Is there a known problem displaying images in EPUB in AdobeViewer jackie_w PocketBook 3 05-12-2010 07:43 AM
FBreader vs adobeviewer .. configuration askyn PocketBook 3 03-30-2010 04:01 AM
kindle app? is it possible to design a app to full support PDF? lili1989 Amazon Kindle 12 02-05-2010 06:29 PM
EPub mit AdobeViewer: ursprünglicher Maßstab Gra666 PocketBook 2 01-01-2010 11:13 AM


All times are GMT -4. The time now is 12:22 PM.


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