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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-31-2012, 01:08 PM   #991
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by ixtab View Post
Yep, you're correct. And no, this wasn't intended - the settings were supposed to be preserved (and they are on the Touch). Seems to be yet another new "feature" of the Paperwhite. I'll try and look into it to see how it can be fixed.
Thank you. And the "FIX" could simply be putting in the documentation: Unfortunately on the PW you have to reapply the margins after opening a book. IMO, if that is too much work, then just leave it at the default settings.
DuckieTigger is offline   Reply With Quote
Old 12-31-2012, 01:17 PM   #992
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by booklover6 View Post
15? I set the Fewest Words Per Line Margin (non-PDF) from default of 150 to 215. Am I doing it wrong?
That depends on what you are trying to do. I want to reduce the margins. The default smallest margins is 50. I changed that to 15. Amazon is really confusing in calling it words per line. It doesn't change density of the text in any way, only changes the margins.

Theoretically you could change the margins to 0, but that does not work for me - that results in the words touching the bezel. Not really good looking. Remember that on the PW you also have to go to the aA menu, and select a different margin setting and back to the one you had for the changes to be active. That has to be done EVERY time you open the book. At least until ixtab can fix it (if it is fixable).
DuckieTigger is offline   Reply With Quote
Old 12-31-2012, 01:38 PM   #993
ersott
Evangelist
ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.ersott ought to be getting tired of karma fortunes by now.
 
Posts: 413
Karma: 650430
Join Date: Apr 2010
Device: Kindle paperwhite2, Ipad Air, Kobo Aura H2o
Thanks! Ixtab, it works fine...

Happy new year for all ;-D
ersott is offline   Reply With Quote
Old 12-31-2012, 01:42 PM   #994
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Sorry to interrupt your scheduled programming again. The Margins DO NOT work on the PW as is. Even a page turn will destroy the margins back to default. Not useable the way it is.
DuckieTigger is offline   Reply With Quote
Old 12-31-2012, 01:46 PM   #995
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by DuckieTigger View Post
Sorry to interrupt your scheduled programming again. The Margins DO NOT work on the PW as is. Even a page turn will destroy the margins back to default. Not useable the way it is.
Correct again. And an invaluable hint, because it will hopefully make finding the missing link much easier - thanks! I'll delete the posted file until then.
ixtab is offline   Reply With Quote
Old 12-31-2012, 01:59 PM   #996
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by ixtab View Post
Correct again. And an invaluable hint, because it will hopefully make finding the missing link much easier - thanks! I'll delete the posted file until then.
More digging: It works partially. It keeps the setting alive for anything bigger than 50. Son of female dog. It even remembers it correctly. There is nothing wrong with your code, but Amazon threw in a road block by defaulting to a MINIMUM of 50 on each page refresh or rerender.

That might be something to check out. Works flawless for my margins of 100, 150, 250. Remembers from one book to next, on page turns, closing and opening everything. *sigh*
DuckieTigger is offline   Reply With Quote
Old 12-31-2012, 02:13 PM   #997
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by DuckieTigger View Post
More digging: It works partially. It keeps the setting alive for anything bigger than 50. Son of female dog. It even remembers it correctly. There is nothing wrong with your code, but Amazon threw in a road block by defaulting to a MINIMUM of 50 on each page refresh or rerender.

That might be something to check out. Works flawless for my margins of 100, 150, 250. Remembers from one book to next, on page turns, closing and opening everything. *sigh*
Thank you for providing that really helpful input (honest!) - you're right again, the settings actually are preserved, and do work as long as they're >= 50. Now, does anybody know a sane way of finding out where these suckers hid that "if margin < 50 (or >=50)" switch, inside all of their horribly obfuscated code? That PW is really cracking me up

PS: No, it's not the "reader.content.[(left)|(right)]Margin" settings which determine the PDF margins, I just tried that. And there doesn't seem to be any other related number with the value of "50" in the settings either. *sigh*.

PPS: The only place where the "font.wordsperline.margin.list" setting of the com.amazon.ebook.booklet.reader.resources.ReaderRe sources file is (seemingly) read is inside the com.amazon.ebook.booklet.reader.impl.ui.yd class (the FontDialog class), which is already patched by this patch. So that value of "50" is most probably hardcoded somewhere, but I simply don't know how to find out where.

Last edited by ixtab; 12-31-2012 at 03:05 PM.
ixtab is offline   Reply With Quote
Old 01-01-2013, 01:03 PM   #998
gers1978
Addict
gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.
 
Posts: 392
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
Could JBPatch be used to:

a) totally turn off the PW light

and

b) remove the "Personal" tag at the bottom of book covers for books you emailed to yourself?
gers1978 is offline   Reply With Quote
Old 01-01-2013, 02:33 PM   #999
ghudod
Connoisseur
ghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toysghudod shares his or her toys
 
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
Quote:
Originally Posted by ixtab View Post
Thank you for providing that really helpful input (honest!) - you're right again, the settings actually are preserved, and do work as long as they're >= 50. Now, does anybody know a sane way of finding out where these suckers hid that "if margin < 50 (or >=50)" switch, inside all of their horribly obfuscated code? That PW is really cracking me up

PS: No, it's not the "reader.content.[(left)|(right)]Margin" settings which determine the PDF margins, I just tried that. And there doesn't seem to be any other related number with the value of "50" in the settings either. *sigh*.

PPS: The only place where the "font.wordsperline.margin.list" setting of the com.amazon.ebook.booklet.reader.resources.ReaderRe sources file is (seemingly) read is inside the com.amazon.ebook.booklet.reader.impl.ui.yd class (the FontDialog class), which is already patched by this patch. So that value of "50" is most probably hardcoded somewhere, but I simply don't know how to find out where.
ixtab, how about using grep and regex to search all source files for the margin-checking logic? (presumably X >= 50 or X < 50)

Something like:
grep -PHn '>=\s*?50|<\s*?50' *.java

That searches all Java files and displays filename and line number where "< 50" or ">= 50" is found (whitespace is accounted for). There will probably be some false positive, but it's certainly better than searching with eyeball.
ghudod is offline   Reply With Quote
Old 01-01-2013, 03:30 PM   #1000
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by ghudod View Post
ixtab, how about using grep and regex to search all source files for the margin-checking logic? (presumably X >= 50 or X < 50)

Something like:
grep -PHn '>=\s*?50|<\s*?50' *.java

That searches all Java files and displays filename and line number where "< 50" or ">= 50" is found (whitespace is accounted for). There will probably be some false positive, but it's certainly better than searching with eyeball.
Why?
Because Amazon did not ship us the source code.
All that is there is the *.class files.
knc1 is offline   Reply With Quote
Old 01-01-2013, 03:44 PM   #1001
pirl8
Pest
pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.pirl8 ought to be getting tired of karma fortunes by now.
 
Posts: 204
Karma: 239254
Join Date: Jan 2012
Location: Italy
Device: KT, PW3
1000th reply to this post: mine!
pirl8 is offline   Reply With Quote
Old 01-02-2013, 09:28 AM   #1002
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by ghudod View Post
ixtab, how about using grep and regex to search all source files for the margin-checking logic? (presumably X >= 50 or X < 50)

Something like:
grep -PHn '>=\s*?50|<\s*?50' *.java

That searches all Java files and displays filename and line number where "< 50" or ">= 50" is found (whitespace is accounted for). There will probably be some false positive, but it's certainly better than searching with eyeball.
Quote:
Originally Posted by knc1 View Post
Why?
Because Amazon did not ship us the source code.
All that is there is the *.class files.
OK, a little bit of progress on that front. I figured out that on each page turn, the left and right margins seem to be set to Math.max(topMargin, leftMargin) - so no hardcoded "50" anywhere, it's actually "40" (taken from the topMargin setting). I currently don't understand why it keeps using "40", even if topMargin is set to something lower - maybe yet another class needs to be patched somewhere. (Update: I found out why that is - for some reason, the implementation switches from the hacked resources file to the localized one at some point, and of course that file contains the original settings again... sigh).

To get an idea of what the code to be deciphered looks like, here is the method in question. This is already the "easy" part of it, as this method decompiles almost correctly - still, the disassembly has to be looked at to really understand what's going on (but other classes are far, far worse):

Spoiler:

Code:
    public void MR(int k)
    {
    //*   0    0:aload_0         
        L b = t.Rgc();
    //    1    1:dup             
    //    2    2:getfield        #5   <Field com.amazon.ebook.booklet.reader.impl.ReaderSDKImpl com.amazon.ebook.booklet.reader.impl.E.t>
    //    3    5:invokevirtual   #89  <Method com.amazon.ebook.booklet.reader.impl.L com.amazon.ebook.booklet.reader.impl.ReaderSDKImpl.Rgc()>
    //    4    8:astore          6
        if(!t.Qr().Mk()) goto _L2; else goto _L1
    //    5   10:getfield        #5   <Field com.amazon.ebook.booklet.reader.impl.ReaderSDKImpl com.amazon.ebook.booklet.reader.impl.E.t>
    //    6   13:invokevirtual   #90  <Method com.amazon.ebook.booklet.reader.sdk.content.Book com.amazon.ebook.booklet.reader.impl.ReaderSDKImpl.Qr()>
    //    7   16:invokeinterface #91  <Method boolean com.amazon.ebook.booklet.reader.sdk.content.Book.Mk()>
    //    8   21:ifeq            95
    //*   9   24:aload_0         
_L1:
        int i;
        int g;
        int e;
        int c;
        c = e = Math.max(b.lQB(), b.XPB());
    //   10   25:aload           6
    //   11   27:invokevirtual   #92  <Method int com.amazon.ebook.booklet.reader.impl.L.lQB()>
    //   12   30:aload           6
    //   13   32:invokevirtual   #93  <Method int com.amazon.ebook.booklet.reader.impl.L.XPB()>
    //   14   35:invokestatic    #94  <Method int java.lang.Math.max(int, int)>
    //   15   38:dup             
    //   16   39:istore          4
    //   17   41:istore          5
        i = ((Integer)p.getObject("reader.content.topMargin")).intValue();
    //   18   43:getfield        #2   <Field java.util.ResourceBundle com.amazon.ebook.booklet.reader.impl.E.p>
    //   19   46:ldc1            #95  <String "reader.content.topMargin">
    //   20   48:invokevirtual   #62  <Method java.lang.Object java.util.ResourceBundle.getObject(java.lang.String)>
    //   21   51:checkcast       #96  <Class java.lang.Integer>
    //   22   54:invokevirtual   #97  <Method int java.lang.Integer.intValue()>
    //   23   57:istore_2        
        g = ((Integer)p.getObject("reader.content.bottomMargin")).intValue() - ((Integer)p.getObject("reader.progressbar.footer.height")).intValue();
    //   24   58:aload_0         
    //   25   59:getfield        #2   <Field java.util.ResourceBundle com.amazon.ebook.booklet.reader.impl.E.p>
    //   26   62:ldc1            #98  <String "reader.content.bottomMargin">
    //   27   64:invokevirtual   #62  <Method java.lang.Object java.util.ResourceBundle.getObject(java.lang.String)>
    //   28   67:checkcast       #96  <Class java.lang.Integer>
    //   29   70:invokevirtual   #97  <Method int java.lang.Integer.intValue()>
    //   30   73:aload_0         
    //   31   74:getfield        #2   <Field java.util.ResourceBundle com.amazon.ebook.booklet.reader.impl.E.p>
    //   32   77:ldc1            #99  <String "reader.progressbar.footer.height">
    //   33   79:invokevirtual   #62  <Method java.lang.Object java.util.ResourceBundle.getObject(java.lang.String)>
    //   34   82:checkcast       #96  <Class java.lang.Integer>
    //   35   85:invokevirtual   #97  <Method int java.lang.Integer.intValue()>
    //   36   88:isub            
    //   37   89:istore_3        
        l;
    //   38   90:aload_0         
          goto _L3
    //*  39   91:goto            164
    //*  40   94:pop             
_L2:
        i = g = Math.max(b.lQB(), b.XPB());
    //   41   95:aload           6
    //   42   97:invokevirtual   #92  <Method int com.amazon.ebook.booklet.reader.impl.L.lQB()>
    //   43  100:aload           6
    //   44  102:invokevirtual   #93  <Method int com.amazon.ebook.booklet.reader.impl.L.XPB()>
    //   45  105:invokestatic    #94  <Method int java.lang.Math.max(int, int)>
    //   46  108:dup             
    //   47  109:istore_3        
    //   48  110:istore_2        
        g -= ((Integer)p.getObject("reader.progressbar.footer.height")).intValue();
    //   49  111:iload_3         
    //   50  112:aload_0         
    //   51  113:getfield        #2   <Field java.util.ResourceBundle com.amazon.ebook.booklet.reader.impl.E.p>
    //   52  116:ldc1            #99  <String "reader.progressbar.footer.height">
    //   53  118:invokevirtual   #62  <Method java.lang.Object java.util.ResourceBundle.getObject(java.lang.String)>
    //   54  121:checkcast       #96  <Class java.lang.Integer>
    //   55  124:invokevirtual   #97  <Method int java.lang.Integer.intValue()>
    //   56  127:isub            
    //   57  128:istore_3        
        c = ((Integer)p.getObject("reader.content.rightMargin")).intValue();
    //   58  129:aload_0         
    //   59  130:getfield        #2   <Field java.util.ResourceBundle com.amazon.ebook.booklet.reader.impl.E.p>
    //   60  133:ldc1            #100 <String "reader.content.rightMargin">
    //   61  135:invokevirtual   #62  <Method java.lang.Object java.util.ResourceBundle.getObject(java.lang.String)>
    //   62  138:checkcast       #96  <Class java.lang.Integer>
    //   63  141:invokevirtual   #97  <Method int java.lang.Integer.intValue()>
    //   64  144:istore          5
        e = ((Integer)p.getObject("reader.content.leftMargin")).intValue();
    //   65  146:aload_0         
    //   66  147:getfield        #2   <Field java.util.ResourceBundle com.amazon.ebook.booklet.reader.impl.E.p>
    //   67  150:ldc1            #101 <String "reader.content.leftMargin">
    //   68  152:invokevirtual   #62  <Method java.lang.Object java.util.ResourceBundle.getObject(java.lang.String)>
    //   69  155:checkcast       #96  <Class java.lang.Integer>
    //   70  158:invokevirtual   #97  <Method int java.lang.Integer.intValue()>
    //   71  161:istore          4
        l;
    //   72  163:aload_0         
_L3:
        t;
    //   73  164:getfield        #5   <Field com.amazon.ebook.booklet.reader.impl.ReaderSDKImpl com.amazon.ebook.booklet.reader.impl.E.t>
        AGc();
    //   74  167:invokevirtual   #102 <Method com.amazon.ebook.booklet.reader.impl.m com.amazon.ebook.booklet.reader.impl.ReaderSDKImpl.AGc()>
        WIc();
    //   75  170:invokevirtual   #103 <Method com.amazon.ebook.booklet.reader.sdk.content.util.d com.amazon.ebook.booklet.reader.impl.m.WIc()>
        "reader.state.preferences";
    //   76  173:ldc1            #104 <String "reader.state.preferences">
        FI();
    //   77  175:invokevirtual   #105 <Method com.amazon.ebook.booklet.reader.sdk.content.util.DataStoreObject com.amazon.ebook.booklet.reader.sdk.content.util.d.FI(java.lang.String)>
        (L);
    //   78  178:checkcast       #106 <Class com.amazon.ebook.booklet.reader.impl.L>
        JVM INSTR dup ;
    //   79  181:dup             
        L a;
        a;
    //   80  182:astore          7
        JVM INSTR ifnonnull 197;
    //   81  184:ifnonnull       197
           goto _L4 _L5
_L4:
        break MISSING_BLOCK_LABEL_187;
_L5:
        break MISSING_BLOCK_LABEL_197;
        v.J("Unable to get reader state data, so resetMargins failed");
    //   82  187:getstatic       #12  <Field com.amazon.ebook.util.log.d com.amazon.ebook.booklet.reader.impl.E.v>
    //   83  190:ldc1            #107 <String "Unable to get reader state data, so resetMargins failed">
    //   84  192:invokevirtual   #108 <Method void com.amazon.ebook.util.log.d.J(java.lang.String)>
        return;
    //   85  195:return          
    //*  86  196:iconst_0        
        a.ajc(e, c, i, g);
    //   87  197:aload           7
    //   88  199:iload           4
    //   89  201:iload           5
    //   90  203:iload_2         
    //   91  204:iload_3         
    //   92  205:invokevirtual   #109 <Method void com.amazon.ebook.booklet.reader.impl.L.ajc(int, int, int, int)>
        z.QDc();
    //   93  208:aload_0         
    //   94  209:getfield        #46  <Field com.amazon.ebook.booklet.reader.impl.GA com.amazon.ebook.booklet.reader.impl.E.z>
    //   95  212:invokevirtual   #110 <Method void com.amazon.ebook.booklet.reader.impl.GA.QDc()>
        return;
    //   96  215:return          
    }


So much for now. I now have to get my Paperwhite out of "your Kindle needs repair" mode.
ixtab is offline   Reply With Quote
Old 01-02-2013, 09:48 AM   #1003
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
@ixtab: good job on making headway. 50, 40, 60 - close enough. The reason I initially said 50 (shoot me now) is because to my eyes it looked exactly as the default 50 setting - no visible difference.

As for your repair mode. That can be fixed by several restarts and/or plugging in usb, taking out, plugging in, taking out, push button, wait, plug in, take out. That is how I fixed mine before. The most common culprit is - if you fail to sucessfully reboot so many times it will display the message, even if nothing is wrong with the device itself.

That also means, (possibly), that sucessfully booting into the "needs repair" screen might be enough for the PW to get over it.
DuckieTigger is offline   Reply With Quote
Old 01-02-2013, 09:56 AM   #1004
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
@DuckieTigger: I know how to get out of that dreaded repair mode - I was the one who originally released the "rescue pack" for the PW ...

The correct and working way to do it is described near the end of this document. Still, it's a PITA, because the Kindle gives up way too fast, and then one has to go through the entire procedure to get it back to life, which takes about 5 minutes every time...

Last edited by ixtab; 01-02-2013 at 10:32 AM.
ixtab is offline   Reply With Quote
Old 01-02-2013, 10:03 AM   #1005
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Sorry about that. Just saying that you don't always need the rescue procedure. But of course it will be more reliable as it undepends (is that a word? well it is now) on luck.

To prevent getting it stuck in repair mode, maybe you can try to restart it a few times every time it crashed on you. I finally found my logs, or part of them - and it was ALWAYS running out of memory that crashed it.

Edit: what readme? your link is broke

Last edited by DuckieTigger; 01-02-2013 at 10:06 AM.
DuckieTigger is offline   Reply With Quote
Reply

Tags
jbpatch, kindle touch hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -4. The time now is 04:18 AM.


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