View Single Post
Old 04-29-2022, 08:07 AM   #1
lazanet
Junior Member
lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.lazanet can eat soup with a fork.
 
Posts: 3
Karma: 9032
Join Date: Apr 2022
Device: Kindle PW4
Unhappy Enable Dark mode widget without registering

Hi, I've managed to successfully JB my PW4 running 5.13.6 FW using new technique. I installed KUAL with "Helper", "FakeRegister", and "Remove OTA binaries" packages.

It all works, but since factory reset step my device isn't properly registered and that results in missing Bluetooth and Dark Mode buttons in Quick Settings. I'm not comfortable with connecting to the internet and risking automatic updates just in case some previous step wasn't sufficient.

During debugging, I extracted the firmware using `kindletool`, then mounted the rootfs image locally and decompiled the entire classpath from `/opt/amazon/ebook/lib` using JetBrains Fernflower decompiler.

I'm fairly new to the whole Kindle hacking scene, but it seems to me that my main issue originates from ColorInversionProperties not being populated since `/var/local/java/prefs/ColorInversion.preferences` is missing from my system. Can someone who has their device properly registered and jailbroken upload their ColorInversion.preferences file for me to test this theory?

Other idea that I have is to patch bytecode for QuickSettingsPanel class in order to skip checks for instantiating ColorInversionWidgetController and BluetoothWidgetController, but this seems really messy and I would prefer to avoid it if someone jumps in with a better suggestion.

Thanks in advance!
lazanet is offline   Reply With Quote