View Single Post
Old 06-13-2012, 09:30 AM   #3
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by cscat View Post
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... And 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 mmcblk0pt1 using dd( well I backed up mmcblk0pt2 and mmcblk0pt3 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 mmcblk0pt1 and mmcblk0pt2 I have list of files but not sure about mmcblk0pt3 and mmcblk0pt4! <--- asking this because I don't have access to a linux PC right now to do it conveniently.
3. Dump mmcblk0pt1 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 (mmcblk0pt2), 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/mmcblk0pt1 bs=1024 revert me back to absolutely the current state I am right now with everything?!
There is no 't' in mmcblk0p1 (not mmcblk0pt1), and the same for other partitions. p1 is main. p2 is diags. p3 is /var/local. p4 is /mnt/us (also a restricted mount at /mnt/base-us). You should boot main to backup p2. You should boot diags to backup p1. Backing up the mounted partition MAY cause a corrupted backup due to changes in open files (yes the kindle DOES modify both main and diags boot partitions while running).

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.
geekmaster is offline   Reply With Quote