![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 8430
Join Date: Mar 2016
Device: PW3, Clara HD, PB740
|
Brainstorming: Deobfuscation of Framework JARs in 5.x FW
Hello there,
I've been thinking of ways to somehow allow JBPatch'ing on newer FW versions. First and foremost, let me apologize as I won't be online as often as I'd like to in the next couple of weeks. ![]() This is just discussion/brainstorming ![]() I would like to have input from people here, ye who have deep knowledge and are clearly more experienced in modding their K-devices, if the following seems sound and realistic. If it's already been done, my apologies, please point me to the correct place. Situation Assessment
The course of action:
1) I cannot link the 5.0.0 firmware due to forum rules but is quite easy to find online thanks to Ixtab (again). Extract the img.gz and mount this rootfs as a loop device (used Explore2fs as I have no access to a Linux vm), then copy the /opt contents somewhere. 2) Output from these tools may need to be tweaked. 3) I do not know an off-the-shelf solution for this. I had some (very)limited success for a SINGLE jar with java-deobfuscator, for instance: Code:
C:\Tools\Java\jdk1.8.0_74\jre\bin\java.exe -jar deobfuscator-1.0.0.jar -input Reader.jar -output Reader-dob.jar -transformer normalizer.ClassNormalizer -transformer normalizer.MethodNormalizer -transformer normalizer.FieldNormalizer -path C:\Tools\j2dk142_19\jre\lib\rt.jar -path \opt\amazon\ebook\lib\ReaderSDK.jar -path \opt\amazon\ebook\lib\kaf.jar -path \opt\amazon\ebook\booklet\AbstractReaderBooklet.jar -path \opt\amazon\ebook\lib\utilities.jar [1] http://www.minecraftforum.net/forums...-java-bytecode [2] http://www.minecraftforum.net/forums...-deobfuscation |
![]() |
![]() |
![]() |
#2 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The obfuscation is different for every version released.
Whatever you do, you will have to do it every time the firmware build is re-done. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the difference between framework.fiona.conf vs framework.mario.conf | kocoman | Kindle Developer's Corner | 1 | 03-19-2013 09:40 AM |
After brainstorming and marketing ideas... positive action | paula-t | enTourage Archive | 10 | 04-14-2011 12:02 AM |
Brainstorming... | guyjack | enTourage Archive | 52 | 04-13-2011 11:37 AM |
Horror James, M R: The Five Jars, v.1, 16 March 2009. | Patricia | IMP Books | 0 | 03-15-2009 10:58 PM |