![]() |
#1 |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
![]()
I have a lot of stuff in my Kindle and I've invested so much time in customizing it and installing required hacks on it. As my profile says it has firmware 5.1.0 on it, but now I want to revert back to a previous firmware (i.e. 5.0.0, 5.0.1, 5.0.3, or 5.0.4) and do it in a very conservative way so that minimal work will be needed afterwards to get all hacks and customs back... One of the reasons is GestureEngine:Touch events... But keep in mind I might want to come back to the 5.1.0.
With this scenario, I think I should follow these steps: 1. backup everything in /mnt/us/ 2. backup mmcblk0p1 using dd( well I backed up mmcblk0p2 and mmcblk0p3 in case something horribly bad happens) <- Can someone clarify what each of these 4 partitions are? Which folders do they backup EXACTY? Well I know for mmcblk0p1 and mmcblk0p2 I have list of files but not sure about mmcblk0p3 and mmcblk0p4! <--- asking this because I don't have access to a linux PC right now to do it conveniently. 3. Dump mmcblk0p1 of 5.0.x to my Kindle Touch 4. Jailbreak it, apply GUI Launcher and etc. (after installing GUI Launcher and then copying my current extensions directory all my menu items, right? @geekmaster: As I have your SSH enabled diags (mmcblk0p2), would doing this touch anything in there? I remember I went through a heck lots of issues to get that to work for me and I don't want to do it again!!! ![]() And in my future Kindle 5.0.x, would simply dd if=/mnt/us/MY_KT_5.1.0.bin of=/dev/mmcblk0p1 bs=1024 revert me back to absolutely the current state I am right now with everything?! Last edited by thatworkshop; 06-13-2012 at 03:02 PM. Reason: typos corrected (thx to knc1 & GM), reason for update added |
![]() |
![]() |
![]() |
#2 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
The eMMC flash can only change its contents in erase block increments. The erase block size for this device is 4K: s/1K/4K/g or: bs=4096 rather than bs=1024 Whitespace is the normal IFS (Input Field Separator) of *nix shells. You have to quote directory and file names that contain whitespace. s/MY KT 5.1.0/myKT-5.1.0/g or: any other name avoiding whitespace or: put that name in quotes wherever it appears on the command line. - - - Enough with the *nix nit picking... p1 = "Main filesystem" p2 = "Diags filesystem" p3 = "User data filesystem" p4 = "User area" I found that p4 (partition 4) title in the scripting but have not read enough of the system files to know what they are putting on that partition or even if it has a file system on it. To investigate your system image files (as read-only here for safety) on your non-Kindle Linux system: Code:
cd sudo mkdir my_main sudo mount -o ro mmcblk0p1.img my_main # fiddle, fiddle, fiddle, read sudo umount mmcblk0p1.img Adds a mount point name. Mounts the Kindle system image (assuming it is in the current directory) read-only. Allows you to read files and/or grep for uses of blk0p4. Un-mounts the Kindle system image. Note: You must change directory away from the ~/my_main directory and its sub-tree before you un-mount otherwise you will get a "device busy" error. GM can better answer your specific questions about what procedure you should follow. Last edited by knc1; 06-13-2012 at 04:38 AM. |
|
![]() |
![]() |
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:
Changing firmware version should only affect main. Changing the diags version should not (currently) affect hacks. How I would do it is to backup my main partition, then mount it on my host PC and compare that against my virgin (unhacked) main partition backup, saving any changes. Then I would flash whichever firmware version on my kindle that I want. Then I would copy the changes seen in previous hacked/virgin main comparision, and copy those changes into the new (old version) main partition, being careful about any hack-modified scripts that changed between firmware versions (perhaps merging individual lines in those scripts with something like WinMerge)... Last edited by geekmaster; 06-13-2012 at 06:54 PM. |
|
![]() |
![]() |
![]() |
#4 |
hub
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
It is MY_KT_5.1.0.bin and when underlined it gave you that impression of space, but thanks again for everything knc1 and GM.
I have created a new Wiki page called Kindle Touch Firmware Updates Changelog in frustration of all little good/bad changes happened without Amazon mentioning them. Please feel absolutely welcome to add (in fact please do!). And I added a link to it from K5 Index page too. It'd be a good idea if this can be done with other Kindle devices too! @Geekmaster: Considering your warning here, I would assume as kernels are different between 5.0.0 and 5.1.0, I should change kernel back to whatever 5.0.0 is with, eh? P.S. Man! I don't like how Amazon >>> Lab126 is proceeding with this thingy!!! P.S.S. I'm really sick of being scared by all these hidden updates. I've been a loyal customer (term coined by Geekmaster) but now this has to change! Everytime, I turn my Kindle on, I see Wireless/3G is turned on because when I wanted to turn it off, I had suddenly touched bottom of screen where there is an ad and it automatically turns Wireless on!!! NOW, I'm going to disable ads and screensaver and all update pushes!!! ENOUGH. Last edited by thatworkshop; 06-13-2012 at 06:53 PM. |
![]() |
![]() |
![]() |
#5 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
![]() |
![]() |
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 main 5.0.0 kernel goes with 5.0.0 through 5.0.3, but then there is a 5.0.4 kernel, and now a 5.1.0 kernel. The diags kernel first changed with 5.1.0, as I recall... Try to use the kernel originally used with whatever partition version you use. We want to stay as close to *something* once shipped by amazon as we can. There have been a LOT of reports of OTA updates bricking kindles, including kindles that did not have any jailbreak or hacks installed. Normally, when flashing firmware, it is best to be sure that the kindle is plugged in or has a full battery charge. Apparently, the kindles install OTA updates even with a low battery charge, so they fail during a restart when only partially updated, and then they cannot be restarted again. It appears that amazon uses some VERY UNSAFE firmware update methods... |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ Kindle Touch ] Firmware downgrade | vpx | Kindle Developer's Corner | 21 | 03-27-2012 06:00 PM |
Can I downgrade my original Kobo firmware? | Vivian | Kobo Reader | 7 | 10-21-2011 01:43 AM |
OK -- I'm about ready to downgrade the firmware | maxbookworm | PocketBook | 14 | 06-18-2010 03:36 PM |
How to downgrade kindle firmware ? | kashar | Kindle Developer's Corner | 0 | 05-25-2010 04:52 PM |
downgrade firmware? | 71117c | PocketBook | 6 | 03-23-2010 07:38 PM |