Quantcast
Channel: MobileRead Forums - Kindle Developer's Corner
Viewing all articles
Browse latest Browse all 4405

Tools JBpatch - continued

$
0
0
The original project thread is here:
http://www.mobileread.com/forums/sho...d.php?t=175512
The original repository is here:
https://bitbucket.org/ixtab/jbpatcher

The repository of this fork of JBpatch is at:
https://bitbucket.org/knc1-admin/jbpatcher/overview

The Serp project on SourceForge appears to be dead, a backup copy of that code, as of 11.23.2016, is at:
https://github.com/janetizzy/serp
And it appears to be updated for Java8 (which is what firmware 5.8.x is using).

The initial goal of re-opening this dead project:
  • Update the patching classloader for the 5.8 series firmware, if required (it may not require any changes - not yet tested).
  • Update the margins patch.
  • Create a patch to take control of OTA updater, once and forever.
    (Mostly because 5.8.5 can **almost** defeat our current OTA blocker.)

Note 1:
I haven't coded anything in Java for 20 years, help will be require from current Java coders or this project will remain dead. :D

Note 2 (5.8.5 built for the KT3):
Code:

[root@kindle us]# /usr/java/bin/cvm -version
CVM Capabilities set
java version "1.8.0_06-ea"
Java(TM) SE Embedded Runtime Environment (build 1.8.0_06-ea-b00, profile compact1, headless)
Java HotSpot(TM) Embedded Minimal VM (build 25.06-b00, mixed mode)

Note 3 (procyon-decompiler-0.5.30.jar renamed to procyon.jar and placed in */esys (our extension system's directory) ):
The procyon decompiler, version 0.5.30 requires Java-7 or later to run, so this isn't much of a test, but:
Code:

[root@kindle esys]# /usr/java/bin/cvm -jar procyon.jar
CVM Capabilities set
Usage: <main class> [options] <type names or class/jar files>
  Options:
- - - snip - - -

Hey! If you don't have a Kindle to run these tools on, why are you doing this? :D

More bits and pieces to come as I gather them together.

Attached Files
File Type: jar procyon-decompiler-0.5.30.jar (1.68 MB)

Viewing all articles
Browse latest Browse all 4405

Trending Articles