Quote:
Originally Posted by SalvaG
The new firmware has changed the file that needs to be patched, so the hack has to be made again, but the original author is missing and missed - just hope he is well.
|
Updating the "last page" screensaver hack should be possible. The key is to create a new binary diff and md5 hash for the framework-impl.jar. Here is how you'd go about updating the hack to work with the current latest firmware (version 2.3.3):
1. For each firmware version (2.1, 2.1+hack, and 2.3.3): extract the .class files from framework-impl.jar and decompile them into .java files, so that you have 3 separate directories containing the full source code (.java files) for framework-impl.jar
2. Use a three-way merge source code tool to merge the diff of the .java files for version 2.1 and 2.1+hack into the .java files for 2.3.3. Most likely the diff between 2.1 and 2.1+hack is very small, because this hack should only be changing a small part of the framework. This results in the source code for version 2.3.3 of framework-impl.jar, with the hack applied. Let's call this 2.3.3+hack.
3. Compile the .java files for 2.3.3+hack. This creates a bunch of .class files.
4. Create a new jar file containing the 2.3.3+hack .class files.
5. Use a binary diff tool to create a new binary diff of the framework-impl.jar for version 2.3.3 and version 2.3.3+hack.
6. Compute the md5 hash for version 2.3.3+hack of the framework-impl.jar and update the install.sh script to use this new md5 hash.