Skip to content

Commit

Permalink
Added new "Increase page navigation history" patch for 4.17.13651+
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Jul 1, 2020
1 parent 3a10030 commit 9502a21
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/versions/4.17.13651/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ Both page turn buttons go next:
# force the possible branch to next page, never fall through to prev page.
- ReplaceBytes: {Offset: 0xA30504, FindH: 28 B9, ReplaceH: 05 E0} # CBNZ R0, #0xE -> B #0xE

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Both page turn sides go next:
- Enabled: no
- Description: Make both page turn sides go next in the reader.
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.17.13694/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.18.13737/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.19.14123/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.20.14601/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.20.14617/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.20.14622/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.21.15015/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down
8 changes: 8 additions & 0 deletions src/versions/4.22.15190/libnickel.so.1.0.0.yaml/geek1011.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ Both page turn sides go next:
# This patch could have also been done later on where the tap point is checked against different
# QRects, but that's a lot more complicated due to the use of QHash s of pointers to functions.

Increase page navigation history:
- Enabled: no
- Description: Increases the number of dots marking navigation history on the scrubber.
# Replace the immediate value for the cmp r1, #2 before the bgt to the inlined
# QVector::removeFirst() (i e. QVector::erase(start, start+1)):
- BaseAddress: "BookmarkHistoryMixin::pushBookmark(Bookmark const&)"
- ReplaceInt: {Offset: 18, Find: 2, Replace: 4} # note: you can set thr replacement to whatever you want, but it MUST be > 1 or bad things will happen

Replace adobe page numbers toggle with invert screen:
- Enabled: no
- Description: |
Expand Down

2 comments on commit 9502a21

@Masqueey
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can I safely copy+paste this patch for 4.25.15875?

@pgaskin
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't work, unfortunately.

Please sign in to comment.