![]() |
#1 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
[Kindle Touch] What does update 5.0.4 change?
Hi everyone,
The KT update to version 5.0.4 is out for some 2 days now. I'm refraining from updating for another week or two. Still, judging from the size, it seems to be a rather large update. Did anyone notice significant changes between this, and previous versions? Most notably, will previous jailbreaks still work on a "fresh" KT 5.0.4 which DID NOT have the jailbreak installed before the update? From what I've read so far, if the Kindle had been jailbroken *before* the update, the jailbreak will persist (=survive the update). The same is true for the localization (again, as far as I know). Any information is welcome... thanks! |
![]() |
![]() |
![]() |
#2 |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Update could be easily unpacked with kindletool and it contains whole files, not the binary patches as in 5.0.3. So it's easier to inspect for differencies.
Remeber, it's not only update from 5.0.3 to 5.0.4. It's also an update from 5.0.0 to 5.0.4 (i.e. 5.0.3 is included in 5.0.4). And, as it contains whole files, big size doesn't means big changes. There is a new busybox. I've tried to unpack tar.gz containing /var/local/system/locale with busybox from 5.0.4 and result was the same as with busybox from 5.0.3. So, I suppose, current jailbreak method should still work. There is a new kernel. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The first update deposited a payload.bin file on the USB Drive, and another reboot runs that one with a slightly different screen that says 2/2 on it. The reason I was able to capture it between the two reboots is that I had an ENABLE_DIAGS on my usb drive, and I used SSH from diags "Enable USBnet" menu. After the update, the data.tar.gz "bug" still works, as I posted on the IRC last night. That means that amazon obviously WANTS us doing this stuff, right? Somebody on IRC last night mentioned that the md5sum of almost all files changed, and kernel changes too. Personally, I think that second install.bin file was for the diags partition, because it was almost exactly the same size as my mmcblk0p2.img.gz file... Last edited by geekmaster; 03-02-2012 at 04:23 PM. |
|
![]() |
![]() |
![]() |
#4 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
![]() @eureka: Did you notice when unpacking that there was another update package inside the first one? Last edited by geekmaster; 03-02-2012 at 04:06 PM. |
|
![]() |
![]() |
![]() |
#5 | |
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Seriously, am I the only who knows about Yifan Lu's kindletool? ![]() |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
The reason I asked amazon to release a full update was so I would have an official source to repopulate a reformatted partition, instead of a clandestine backup image. Their legal department never did get back to me on my request for written permission to distribute a backup image. Now I do not need to. ![]() I tired very hard to convince them that partial backups were BAD, and I believed at that time that I DID convince them. And this update appears to be proof of that... ![]() And now, still waiting for a K4NT full update package... ![]() Last edited by geekmaster; 03-02-2012 at 04:24 PM. |
|
![]() |
![]() |
![]() |
#7 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Thank you both for the detailed infos!
So, expressing this in terms mostly known from backups, 5.0.4 is an *incremental* update from 5.0.0 instead of a *differential* one from 5.0.3, right? Wise choice, and explains the larger size. Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
![]()
Nope. I also took a closer look at the 5.0.3 update, which already contained two distinct .bin files for 5.0.0 and 5.0.1.
But because I'm lazy, and I figured that someone else had already done the work, I just asked... ![]() |
![]() |
![]() |
![]() |
#9 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
So this is INCREMENTAL, not a FULL update? I do not fully understand how update terminology is used here. How is an incremental backup different from a full backup?
Does this require a 5.0.0 image to be installed on the partition before updating it? Confused... ![]() I see that the KindleTool readme refers to OTA and recovery packages. I did not realize that they were diffierent. I was studying different stuff. Time to look at this closer it would seem. So much to learn and so little time. Last edited by geekmaster; 03-02-2012 at 04:51 PM. |
![]() |
![]() |
![]() |
#10 | ||
but forgot what it's like
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Quote:
It's an update, after all ![]() |
||
![]() |
![]() |
![]() |
#11 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Code:
[root@kindle fonthack]# df -h Filesystem Size Used Available Use% Mounted on /dev/root 340.2M 213.8M 109.3M 66% / tmpfs 124.9M 72.0K 124.8M 0% /dev tmpfs 124.9M 0 124.9M 0% /dev/shm tmpfs 32.0M 436.0K 31.6M 1% /var /dev/mmcblk0p3 31.0M 10.8M 18.6M 37% /var/local fsp 3.2G 293.4M 2.9G 9% /mnt/us /dev/loop/0 3.2G 293.4M 2.9G 9% /mnt/base-us
From what I see, the 5.0.3 update has been a differential update (relying on a known 5.0.0 or 5.0.1 state, which is why it included two different installers). The 5.0.4 is an incremental update instead (just replacing everything that changed from 5.0.0 to 5.0.4). I might be totally wrong (I did not take a look at 5.0.4 yet, actually, and am relying on eureka's and your information here!) -- still, that seams plausible to me. As for the term "full", you are both right and wrong: an incremental update includes the complete new file for any file that has actually (ever) been changed since the "ground truth" (v5.0.0), but it also does not include any file available in "the ground truth" that has not been changed. This is what I understood the 5.0.4 package to be. Last edited by ixtab; 03-02-2012 at 05:23 PM. |
|
![]() |
![]() |
![]() |
#12 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
I compiled the newest KindleTool. It display usage info, but it "Cannot open input file for reading". Any ideas?
EDIT: Nevermind. the input file was 0-bytes. One of the options I tried must have written to it. PEBKAC error. ![]() It worked after I re-copied the file... I *like* how the update scripts are fully commented. Last edited by geekmaster; 03-02-2012 at 07:03 PM. |
![]() |
![]() |
![]() |
#13 | |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
kindletool is (unfortunately) totally, utterly broken (see my posts about that in the Jailbreak thread). It works sometimes, but unfortunately, it produces garbage many other times. The reason is not so much wrong coding, but wrong assumptions about memory management (which seem not to hold in current Linux distributions). For newer .bin packages (like the font hack), kindletool did not work, so I am now relying on the "unofficial kindletool mode" that I built into the localization package, where the original "kindletool" is only used for converting packages. |
|
![]() |
![]() |
![]() |
#14 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Unless I am missing something, there were very few changes in mmcblk0p1.
/usr/java/bin/ams and /usr/java/bin/ams.map are in my 5.0.0 image but not 5.0.4. /usr/share/webkit-1.0/pillow/javascripts/debug_cmds.js was changed to a .json file and moved to its parent folder, That's about it. A lot of the stuff in the update package (including the busybox) does not seem to be different from 5.0.0. Now to see if the diags partition changed... EDIT: I do not see ANY changes on mmcblk0p2. Were the only changes the files listed above? What am I doing wrong here? Last edited by geekmaster; 03-02-2012 at 07:28 PM. |
![]() |
![]() |
![]() |
#15 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Dec 2011
Location: Germany
Device: Kindle PW4
|
Is it safe to apply this update on my already jailbroken kindle touch?
Will the jailbroken things be still there? |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch: how to change margin | silver18 | Amazon Kindle | 50 | 04-08-2018 11:20 AM |
SSModeSwitcher: An extension to change Screensaver mode | thomass | Kindle Developer's Corner | 13 | 11-04-2012 09:31 PM |
When will the kindle touch get an update | bluerfoot | Amazon Kindle | 45 | 02-06-2012 02:31 PM |
Hacks Kindle Touch - disable special offers & change screensaver | Touch | Amazon Kindle | 73 | 01-04-2012 09:00 AM |
Touch Will the new Kindle(s) touch change your mind about getting a Nook Touch | jocampo | Barnes & Noble NOOK | 94 | 10-12-2011 02:41 PM |