MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=150)
-   -   Mobileread Kindlet Kit (https://www.mobileread.com/forums/showthread.php?t=233932)

NiLuJe 04-19-2014 01:27 PM

Huh. So, the JB is okay, the package is okay, yet it fails. Awesome.

What's the exact FW version/build number the device is running, and did you happen to break the openssl binary?

NiLuJe 04-19-2014 01:30 PM

Provided you have a recent USBNet build installed, does this work?

Code:

cd /mnt/us
kindletool convert -kws Update_mkk-20140214-k5-ALL_install.bin
openssl dgst -sha256 -verify /etc/uks/pubdevkey01.pem -signature Update_mkk-20140214-k5-ALL_install.psig Update_mkk-20140214-k5-ALL_install_unwrapped.bin


NiLuJe 04-19-2014 01:34 PM

And what about this:

Code:

cd /mnt/us
dd if=Update_mkk-20140214-k5-ALL_install.bin bs=192 count=1 2>|/dev/null | tail -c +65 >| "mkk.psig"
tail -c +$(expr 192 + 1) "Update_mkk-20140214-k5-ALL_install.bin" 2>|/dev/null | openssl dgst -sha256 -verify "/etc/uks/pubdevkey01.pem" -signature "mkk.psig"


Lykos 04-19-2014 01:35 PM

oO I think that might just be it :(
Is there someone who accepts a small paypal donation for my utter stupidity?
Code:

[root@kindle root]# openssl
openssl: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory


NiLuJe 04-19-2014 01:38 PM

Hurray! That's it, you can forget my two command dump posts ;).

If you don't have a backup of it, you should be able to rip the original openssl binary & libs from the full amazon update corresponding to your FW version (with KindleTool, and preferably a Linux system to loop-mount the ext3 image painlessly).

What's shipped with USBNetwork won't help you, that's OpenSSL 1.0.1g, and only the library, not the binary. Although if you need a quick and dirty hot fix, I might have the corresponding binary still laying around in my build tree.

EDIT: Or, of course, you *should* be able to just downgrade/upgrade your FW version, provided you don't click the UYK link after putting an official update file, and just reboot straightaway, that'll take care of everything. That solution also implies running something earlier than FW 5.4.2.1 if you're doing a downgrading (or reinstalling the exact same FW version).

Lykos 04-19-2014 01:46 PM

Hurray it worked, thank you very much!
How can I repay you?

NiLuJe 04-19-2014 01:47 PM

By being careful what you do on your device, in particular on the rootfs? ;D

user743 05-02-2014 08:19 PM

Quote:

Originally Posted by NiLuJe (Post 2813111)
Check the bottom left corner of the screen (during the update process, before it reboots) for the proper update error code.

Alternatively, if you can, check the system logs (over SSH, or from a ;dm dump).

what should i look for in the system logs.

NiLuJe 05-02-2014 08:28 PM

@user743: What's your issue?

user743 05-02-2014 08:36 PM

I get a invalid certificate error when trying to open KUAL. I cant reinstall mkk. i get a error. I think it was 0007 or 007.

The problem started when i unregistered and reregistered my pw2 5.4.2.1.

I think it's still jail broken, because the front light hack is still working.

NiLuJe 05-02-2014 11:15 PM

@user743: Nope, reinstall the JB, then MKK, that should do it ;).

Brynwall 05-25-2014 01:59 PM

Has anybody ever had an issue where the PW2 decided that the application wasn't installed anymore? I re-installed it and it worked, but for some reason it just stopped working (nothing additional was installed when this happened).

NiLuJe 05-25-2014 03:18 PM

@Brynwall: What do you mean when you say 'application'?

bamvor 05-28-2014 03:26 AM

does anyone know that whether it apply to kwp2 5.4.3.2?
thanks.

knc1 05-28-2014 09:25 AM

Quote:

Originally Posted by bamvor (Post 2839432)
does anyone know that whether it apply to kwp2 5.4.3.2?
thanks.

Yes, someone does.
Yes, it does.
Your welcome.


All times are GMT -4. The time now is 04:57 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.