Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-24-2025, 09:39 AM   #1
reckon
Junior Member
reckon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2025
Device: Kindle PaperWhite 2024
Unhappy Downgrade from 5.18.1 fails with Error 12 (u-boot version mismatch)

Hello everyone,

I'm trying to downgrade my Kindle PaperWhite 2024 from firmware version 5.18.1 to 5.17.1.0.4.

I initially followed a guide which suggested modifying the /etc/version.txt file on the device. However, after doing that, the update process still failed with "Update Error: 12".

I checked the logs in /var/local/system/update_logs and found the specific reason for the failure. Here are the key lines from the log:

Code:
<12>[   24.186821] INFO:u-boot: 2 -> 1
<12>[   24.186827] INFO:u-boot version downgrade
<12>[   24.186834] ERROR:unbundle_file: aborting install process because of check_metadata failure.
<12>[   24.187004] ERROR:Could not unbundle /mnt-us/update_kindle_all_new_paperwhite_12th_5.17.1.0.4.bin,error_code=12
To confirm this, I used KindleTool to extract both firmware packages and compared their metadata.txt files. I can see the bootloader versions are indeed different, which explains the log.

Current Firmware (5.18.1) metadata:
Code:
bootloader_version.kernel=1
bootloader_version.quickboot=1
bootloader_version.lk=2
bootloader_version.tee=2
bootloader_version.u-boot=2
Target Firmware (5.17.1.0.4) metadata:
Code:
bootloader_version.lk=1
bootloader_version.tee=1
bootloader_version.u-boot=1
It seems clear that a bootloader anti-downgrade check is stopping the process.

My question is: What is the recommended way to proceed with the downgrade from here? I've read that a possible solution is to unpack the target firmware (5.17.1.0.4.bin), modify its internal metadata.txt to match the current bootloader versions (e.g., set u-boot to 2), and then repack it. Is this a safe and viable approach for my situation?

Any guidance or confirmation would be greatly appreciated. Thank you!

P.S. As I am not a native English speaker, this post was composed with the assistance of an AI tool to ensure clarity. Please excuse any potential awkward phrasing.
reckon is offline   Reply With Quote
Old 05-24-2025, 12:28 PM   #2
PiperKev
Enthusiast
PiperKev began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Sep 2020
Device: Kindle Oasis 3
You won't be able to downgrade until your kindle is jailbroken, and there's currently no jailbreak available for 5.18.1. It's in the works, but it's not ready yet.
PiperKev is offline   Reply With Quote
Advert
Old 05-24-2025, 01:01 PM   #3
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,770
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by PiperKev View Post
You won't be able to downgrade until your kindle is jailbroken, and there's currently no jailbreak available for 5.18.1. It's in the works, but it's not ready yet.
If it is possible to access /etc and /var the kindle is already jailbroken.
j.p.s is offline   Reply With Quote
Old 05-24-2025, 03:44 PM   #4
Marek
Groupie
Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.Marek ought to be getting tired of karma fortunes by now.
 
Marek's Avatar
 
Posts: 192
Karma: 1512344
Join Date: Jul 2023
Device: PW3, PW4 :(, KT5, PW5, KLC
Quote:
Originally Posted by reckon View Post
Hello everyone,

I'm trying to downgrade my Kindle PaperWhite 2024 from firmware version 5.18.1 to 5.17.1.0.4.

I initially followed a guide which suggested modifying the /etc/version.txt file on the device. However, after doing that, the update process still failed with "Update Error: 12".

I checked the logs in /var/local/system/update_logs and found the specific reason for the failure. Here are the key lines from the log:

Code:
<12>[   24.186821] INFO:u-boot: 2 -> 1
<12>[   24.186827] INFO:u-boot version downgrade
<12>[   24.186834] ERROR:unbundle_file: aborting install process because of check_metadata failure.
<12>[   24.187004] ERROR:Could not unbundle /mnt-us/update_kindle_all_new_paperwhite_12th_5.17.1.0.4.bin,error_code=12
To confirm this, I used KindleTool to extract both firmware packages and compared their metadata.txt files. I can see the bootloader versions are indeed different, which explains the log.

Current Firmware (5.18.1) metadata:
Code:
bootloader_version.kernel=1
bootloader_version.quickboot=1
bootloader_version.lk=2
bootloader_version.tee=2
bootloader_version.u-boot=2
Target Firmware (5.17.1.0.4) metadata:
Code:
bootloader_version.lk=1
bootloader_version.tee=1
bootloader_version.u-boot=1
It seems clear that a bootloader anti-downgrade check is stopping the process.

My question is: What is the recommended way to proceed with the downgrade from here? I've read that a possible solution is to unpack the target firmware (5.17.1.0.4.bin), modify its internal metadata.txt to match the current bootloader versions (e.g., set u-boot to 2), and then repack it. Is this a safe and viable approach for my situation?

Any guidance or confirmation would be greatly appreciated. Thank you!

P.S. As I am not a native English speaker, this post was composed with the assistance of an AI tool to ensure clarity. Please excuse any potential awkward phrasing.
Huh, this is new, unfortunately I don't see any way to downgrade if they are checking uboot versions now inside the kernel updater (changing the metadata and repacking is not possible since we don't have amazons Ota signing keys) only way would be dd'ing over the rootfs in user space, which doesn't sound safe or fun
Marek is offline   Reply With Quote
Old 05-25-2025, 05:02 AM   #5
reckon
Junior Member
reckon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2025
Device: Kindle PaperWhite 2024
Quote:
Originally Posted by Marek View Post
Huh, this is new, unfortunately I don't see any way to downgrade if they are checking uboot versions now inside the kernel updater (changing the metadata and repacking is not possible since we don't have amazons Ota signing keys) only way would be dd'ing over the rootfs in user space, which doesn't sound safe or fun
Thank you for the quick and clear response, Marek.

I agree, using the dd command to overwrite the root filesystem sounds extremely risky, and it's not something I'm comfortable attempting. It's a shame that a direct downgrade seems to be off the table now.

The main reason I wanted to downgrade was to fix several UI issues that were introduced with the recent update. Since downgrading isn't a viable option, perhaps I could get some help addressing these specific problems instead?

The two main issues are:

1. Inconsistent font in the page number display: In the bottom-left corner, the fonts for the numbers and the Chinese characters are not unified (e.g., in "第 1 页"). This seems to be a problem specific to the Simplified Chinese language setting.

2. A change in the highlight style: Previously, highlights on separate lines had a small vertical gap between them. Now, a highlight that spans multiple lines is rendered as a single, solid block, which I find less visually appealing.

My question is: Does anyone know where these UI styles might be defined in the Kindle's filesystem? Are they controlled by CSS files, configuration files, or something else that could potentially be modified?

What's particularly interesting is that some of these changes, especially the highlight style, did not appear immediately after the firmware update. The change happened after my device was connected to the internet for a while. I have also seen many similar reports on Chinese social media, which makes me suspect this could be a setting pushed by Amazon's servers after the initial update.

Any insight into these specific UI elements would be greatly appreciated. Thanks again for your help!
reckon is offline   Reply With Quote
Advert
Old 05-25-2025, 08:30 AM   #6
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,106
Karma: 12000222
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Quote:
The change happened after my device was connected to the internet for a while.
Then that's probably controlled by something stored inside "experiments" table in `/var/local/KWISClient.db` database?
shamanNS is offline   Reply With Quote
Old 05-25-2025, 11:03 AM   #7
Frogm4n
Evangelist
Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.Frogm4n ought to be getting tired of karma fortunes by now.
 
Posts: 441
Karma: 3456809
Join Date: Jul 2023
Device: Scribe, OA2, Glo HD, PRS-350
Quote:
Originally Posted by reckon View Post
What's particularly interesting is that some of these changes, especially the highlight style, did not appear immediately after the firmware update. The change happened after my device was connected to the internet for a while. I have also seen many similar reports on Chinese social media, which makes me suspect this could be a setting pushed by Amazon's servers after the initial update.

Any insight into these specific UI elements would be greatly appreciated. Thanks again for your help!
It didn't take long for mine to do so after the update, but it did have a post-install update to the font system that required a reboot. It was certainly a different update kind than the usual firmware updater.
Frogm4n is offline   Reply With Quote
Old 05-26-2025, 11:15 AM   #8
Ebookus
Digital Grenadier
Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.Ebookus ought to be getting tired of karma fortunes by now.
 
Ebookus's Avatar
 
Posts: 176
Karma: 1500000
Join Date: Jan 2024
Device: Kindle
I second the hate for the new highlighting style. sucks big time
Ebookus is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Save to Disk OPF Version Mismatch el_vandragon Library Management 2 03-12-2024 01:59 AM
Font properties: CSS version mismatch? Quoth Conversion 10 11-29-2021 09:50 AM
Tag mismatch error reporting AlanHK Sigil 14 05-07-2015 10:02 AM
Calibre for PC, 2.9/2.11 Version Mismatch ArgentSun Calibre 13 12-05-2014 01:40 PM
Troubleshooting Is it possible to downgrade kindle's version? poleodementa Amazon Kindle 3 10-02-2012 09:54 AM


All times are GMT -4. The time now is 02:56 PM.


MobileRead.com is a privately owned, operated and funded community.