03-01-2012, 10:06 AM | #196 | |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
Yifan Lu's first jailbreak installed exactly one file. My jailbreak installed exactly that same file, so it can be uninstalled using the original uninstaller (side note: the "reset to english" is a non-issue, because as of now, a non-jailbroken KT cannot have been localized yet, so I'm in fact overwriting the locale file with an identical version; and even if it was, it would be trivial to localize it again). I haven't tested the other jailbreaks, but since the whole purpose of the jailbreak is to install that one key file, I argue that the installers have to clean up after themselves so as to only leave that single file behind. And if they do, then... well, the original uninstaller can be used for either of them |
|
03-01-2012, 10:36 AM | #197 | |||
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Quote:
Quote:
Actually, my error message was a little different, pointing to a different hosts file in ~/.ssh/known_hosts. I did not replace it with a symlink. What I did is to change a line in ~/.ssh/config: UserKnownHostsFile /dev/null I found that solution to my problem somewhere in the vast "interwebs", and it worked for me. I use putty on windows to connect to ssh in the outside world, so not a problem for me. Do you have a way that would allow multiple kindles with different IPs to connect without this message, and not having to edit the known_hosts file every time? The way I thought of as mentioned above is to use the same key file in all the kindles. I actually did copy the rsa key file between main and diags partitions for the kindle image files I use for debricking, to prevent that message when using SSH on main and diags on the same kindle. I am considering just copying that to my other kindles, then I do not need to use the /dev/null "solution", and accessing outside ssh hosts would not be a problem. Is there a better way? Last edited by geekmaster; 03-01-2012 at 10:46 AM. |
|||
Advert | |
|
03-01-2012, 11:33 AM | #198 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
jailbreak package abuse
Agreed. With the signed update packages, developers needed enough knowledge to be able to sign them, and would hopefully know to test them carefully. But most importantly, signed updates will not install on the wrong kindle model.
But with the data.tar.gz method, it drops the payload BEFORE any script can execute, potentially damaging what it replaced. This one is so easy that the "script kiddies" have been busy. There are a lot of RUNME.sh payloads out in various threads, packaged with data.tar.gz files for either the touch or the k4nt, and people are installing the wrong ones. I have helped people debrick kindles that had this exact problem. A "not smart" mntus.params payload (like the model-specific ones in the threads) will brick a kindle if it contains the wrong parameter values. The problem is that the jailbreak packages are being repurposed as a RUNME script launcher, which is so easy to use that the script kiddies are writing versions that are not carefully written (like other typical script-kiddie scripts). There are enough beginners here that the disorganized crossover between k4nt and touch is causing confusion and bricking. Actually, the kindle gets localized when you select a language the first time you start it. No jailbreak needed for that. Yes, it would be trivial to change your locale back to your language, but then you would have to explore the menu system -- not as easy for newcomers as the first-time startup language selection. Quote:
Although data.tar.gz itself is being called a "jailbreak" in various posts, the payload typically does not install a key file, but is being used ONLY to run various RUNME scripts scattered around in the forums (especially in the K4NT threads). Because the locale file only works on the touch, whereas mntus.params works on the k4nt and the touch, when booting diags and when booting main, even yifanlu is using it in his latest jailbreak package (for k4nt). I use the newer mntus.params payload for my kindle recovery package ("Select Boot" and "Fastboot Manifesto" threads) for touch and k4nt recovery. This payload also works on earlier kindles too, but requires a different delivery mechanism. I was careful to make it a "smart" (aware of its environment) script so it will work on all kindle models (but needs adjusting for k1 and k2). The purpose of my thread was to clear up some of the misunderstanding, and provide a little history lesson about using the tar bug payloads, and where it is heading. No intentions here to step on any toes... P.S. I bumped your karma from ~4500 to ~7500 yesterday, so that should take your mind off your sore toes. Last edited by geekmaster; 03-01-2012 at 12:00 PM. |
|
03-01-2012, 12:11 PM | #199 | ||
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Quote:
That was exactly the reason why I chose the locale file, instead of another one: The jailbreak will leave it in exactly the state that it is on a factory-fresh Kindle. I specifically did not choose another file (tzVar etc.), because I wasn't sure of the implications. Quote:
People are free to do whatever they want with the information they get, even shooting themselves in the foot... but there is no way that we can know how to uninstall things which are out of our control. And I repeat: uninstalling the jailbreak is as easy as removing the developer certificate, which can be achieved by using the original uninstaller. Probably it's all just a matter of "define jailbreak". For me, that encompasses the well-known releases which are officially labeled "jailbreak" (only!). As said, anything else ("RUNME.sh launcher" etc.) has uncontrollable side-effects, so it is generally impossible to tell how these could be uninstalled anyway. Cheers |
||
03-01-2012, 12:41 PM | #200 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Only English FOR NOW. Your original post was generic about jailbreaks, and there is a lot of crossover between the touch and k4nt posts, and unless you modify it, it will still be here long into the future. I just wanted to clarify the details of jailbreaks for all kindle models.But we should not make it too easy for them to accidentally brick their kindles before they know that the (non environmentally aware) data.tar.gz files are model-specific. At least the update packages do not damage anything if you attempt to use the wrong version.
Quote:
And now, you can uninstall anything launched from a RUNME.sh that caused damage. Just restore a backup copy of mmcblk0p1.img after booting to diagnostics. You can use my data.tar.gz and a RUNME.sh that uses dd to write the backup copy to /dev/mmcblk0p1. You cannot flash mmcblk0p1 with fastboot because it is too big. And now you can run SSH from diags too (just like on K4NT, if yo flash my mmcblk0p2.img with dropbear pre-installed). You can rewrite the main system partition with dd from SSH on diags. That will fix those pesky malicious RUNME installers. You can install a "factory fresh" mmcblk0p1 too, and your kindle will boot up like when it was fresh out of the box. Just be aware that to avoid corruption, you should not write a backup image to the partition that you booted from. My recent RUNME scripts check for this and reboot into the other bootmode if needed, and remove the RUNME.done when changing bootmode so that they run again in the other bootmode. One script could restore main and diags images by rebooting and resuming execution, as needed to prevent partition image corruption. I still have a long way to go. I want to use my mntus.params to run a boot menu that lets you select main, diags, fastboot, or loading a custom linux kernel from /mnt/us. Perhaps this boot menu should only be displayed if the Home button is pressed when the LED blinks "green-yellow-green-yellow-green" for 2 seconds while mntus.params is running. I want to have a backup and restore utility in this menu too, which runs even if the main system partition is corrupted and cannot boot. For image and file restore, I want a GUI "Time Slider" method to select backup images to restore. It could be based on a local MD5 list of backup images on a host PC, and if not on the USB Drive, it could export the USB drive with a message about which file to put on it. Just "pipe dreams" right now though... P.S. The mmcblk0p2.img.gz URL for the diags partition backup image with SSH pre-installed is at the bottom of the first post in the "Select Boot" thread. You start SSH from diags on the Touch with Diagnostics menu items N) U) Z) X), just like on the K4NT. Very useful for exploring and debricking the main partition. Enjoy! Last edited by geekmaster; 03-01-2012 at 01:25 PM. |
|
Advert | |
|
03-06-2012, 01:36 AM | #201 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2012
Device: kindle touch
|
Yifan lu's jailbreak download failure
Who has Yifan Lu's "update_jailbreak_X.Y_k5 uninstall.bin"? Yifan Lu's download link has already failed. My email: hu-shijie@hotmail.com. Thank you all!
|
03-06-2012, 07:11 AM | #202 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Yifan Lu's website works fine for me, so you must have tried to use a bad "link". Where is the link that you clicked to download this file? Or, did you mean "URL" (that you typed) instead of "link" (that you clicked). Were did you get "update_jailbreak_X.Y_k5 uninstall.bin" file name? If you got that from a README file, you need to replace "X.Y" with the version numbers for the jailbreak version that you used. Last edited by geekmaster; 03-06-2012 at 07:22 AM. |
|
03-06-2012, 12:06 PM | #203 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
Hi together,
sorry, I don't want to disturb you cracks I want to install the german translation file translation-de_DE.properties and I don't know how. Somebody wrote, I have to copy it into the fonthack folder. I did, but nothing happend Hope you will help ... Thanks a lot |
03-06-2012, 12:14 PM | #204 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
1. This is the wrong thread
2. translation-de_DE.properties is the german translation for the font hack only! If you are looking to localize your entire Kindle, see this thread. An even easier method (for german only!) can be found here. |
03-06-2012, 12:23 PM | #205 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Device: Kindle Touch
|
I'm so sorry I noticed it, but you were faster
Danke |
04-13-2012, 06:42 AM | #206 |
Connoisseur
Posts: 59
Karma: 57554
Join Date: Jan 2012
Location: Romania
Device: Kindle Touch
|
Can't Jailbreak 5.1
I had some problems updating my Kindle to version 5.1. I had to uninstall most of the hacks in order to avoid error 006. After updating I received the dreaded "Your kindle needs service. Contact Amazon support" screen. After connecting it to the PC the problem disappeared but the repair needed screen came back at every restart and various other occasions. I managed to Reset my Kindle and now it works fine.
My problem is the fact that I uninstalled the jailbreak prior to the update and now I can't jailbreak it again. I believe that the after the update my kindle ignores the data.tar.gz file. |
04-13-2012, 06:49 AM | #207 |
(offline)
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
... guess what
|
04-13-2012, 07:42 AM | #208 |
Connoisseur
Posts: 59
Karma: 57554
Join Date: Jan 2012
Location: Romania
Device: Kindle Touch
|
I found out the cause of the broken kindle screen. I had a custom font installed but I had reverted the the original libfreetype. After installing the custom libfreetype, the problem is corrected.
|
04-13-2012, 09:29 AM | #209 | |
Zealot
Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
Quote:
i also had the same problem. i uninstalled the libfreetype only after i have successfully installed 5.1.0. fortunately, my KT went back to normal after i connected it my PC. i'm thinking of installing the libfreetype again to correct some font issues, but am afraid that my KT will freeze again. |
|
04-26-2012, 10:47 PM | #210 |
BLAM!
Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Shameless plug!
I've forked yifanlu's KindleTool on github. It's a work in progress aimed at getting it to run properly on Linux. As a side-effect, it's probably utterly broken on OS X/Cygwin . Right now, it should mostly work, but I haven't actually looked carefully at the output/tested anything on the 'create' front. I'll do that tomorrow . In the mean time, I'm open to comments/patches/bug reports . Keep in mind that I'm basically useless at C, so, err, be gentle . (And when I say useless, I'm barely exaggerating: h 1 | grep "make debug" | wc -l == 196 h 1 | grep "Debug/kindletool" | wc -l == 268 Add to that a few build/runs through kdevelop when I was playing around with it ). Once we're more or less sure it's okay, I'll send a pull request. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Touch 5.1, Jailbreak, and Screensaver Hack | sparrowlight | Kindle Developer's Corner | 23 | 09-26-2012 12:15 AM |
[Kindle Touch] Firmware 5.1.0 and jailbreak | ixtab | Kindle Developer's Corner | 85 | 06-28-2012 04:43 AM |
How to Kindle touch - jailbreak, screensaver | morgun | Kindle Developer's Corner | 3 | 05-21-2012 06:39 PM |
Kindle Touch Jailbreak Support Team | geekmaster | Kindle Developer's Corner | 39 | 01-14-2012 05:26 AM |