-
- it is possible that the old binary update file above is not compatible with your modern jailbreak/OS version,
and this is the reason why you get U007 update error. Repacking the update binary
can help in this case. Please refer to jailbreak-related topics.

When you say repacking the binary I assume you mean compiling it manually is this correct? (Is there a way to compile it on the kindle with the tinyC compiler?)

I have no clue what you mean by 'jailbreak-related topics' but I will search around for some, is there any query in particular I can look for?

When you say repacking the binary I assume you mean compiling it manually is this correct?

No. I mean unpacking the update binary file using an older version of kindle_update_tool.py
and then packing it back using a newer version of that tool.This is the topic where everything begins.
Sorry, I cannot provide you with more guidelines..

Just in case, I'm attaching the unpacked launchpad binary package in a form of gzipped
tar archive. Maybe this could help you to pack it using a newer tool, or even install launchpad manually.
This is something trivial for those who is familiar with linux.

I realize I sound like a noob above, I didn't make the distinction between packaging (ie tar) and changing a binary into an update installer. After reading the python src and the scripts I understand what is going on. I never read this because I skipped the ss stuff (since it is non-functional, as a priority). I found the update packager script at v0.13 here https://www.mobileread.com/forums/sho...te+tool&page=7 and successfully packaged it, then used the k3g, but to no effect, still the same U007 error. I have to run out now but later I may see if I can grep U007 in the source code for better understanding. I am also going to try installing some other update packages to see if I have the same problem. Do you have any other ideas?

@mpetersen3: A U007 error means that the signature couldn't be verified on at least parts of the package (It usually means that the Kindle isn't jailbroken properly, or in the case of my jailbreak, that the hack isn't whitelisted). Given the info you've posted, you've been able to install usbnet, so that would indeed mean that you've got a working jailbreak, and that you should be able to use the launchpad packages, unless you happened to rename the .bin file when putting it on your Kindle, or messed up the whitelist somehow. You might want to check the logs to understand what's happening (;dumpMessages in debug mode).

@mpetersen3: A U007 error means that the signature couldn't be verified on at least parts of the package (It usually means that the Kindle isn't jailbroken properly, or in the case of my jailbreak, that the hack isn't whitelisted). Given the info you've posted, you've been able to install usbnet, so that would indeed mean that you've got a working jailbreak, and that you should be able to use the launchpad packages, unless you happened to rename the .bin file when putting it on your Kindle, or messed up the whitelist somehow. You might want to check the logs to understand what's happening (;dumpMessages in debug mode).

I was looking at yiour python code and saw that the more recent updates include some F[CD]0\d options, this looks like support for newer revs, though I assumed it is for 4.*. I used the build-updates.sh to invoke your .py script, but it didn't have any of those optional arguments so I didn't use them.

Strangely I had no /etc/whitelist file, so I created on with "update_launchpad_0.0.1c_k3g_install.bin", this led me to see error 3, at which point I was praying that I didn't own a brick (since I knew this was stupid and risky). It didn't thankfully.

Below is the ;debugMessages info I found pertaining to the original U007 update error. It appears that it is as you said and that there is a sig verification failed, more suspicious is that I noticed that on my first time using launchpad, and every time after I get W: We can't add another boot milestone. We already have 32 boot milestones and the maximum is 32

Since this sounds like it could be an issue with a max number of updates that can be installed ( and I uninstalled and installed the jailbreak and usbNet many times prior to posting here since I didn't quite get that ifconfig sets the gateway ip) I am going to back up my docs now and try to do a factory reset, hoping that will clear the max update issue.

* I'll need an actual logdump to check that the jailbreak isn't doing something funny, not just a snippet . (The boot milestone warning is unrelated to any of this, that's a standard warning from the framework [basically, it means that the framework has been restarted a lot since the last full boot, but that shouldn't ever cause any real trouble]).

* A factory reset doesn't uninstall the hacks, it just disable most of them, since we usually rely on stuff in the userstore, which is wiped by the factory reset process. Put the linkjail & usbnet folder from the latest packages back in there, and that should clear things up.

I never meant to restart, that must've been an error on my part. Fat fingers, hehe.

Hmm that is unusual, the reason I used /etc/whitelist was that another thread mentioned it for the U007 error and someone said it worked. They must've specified the wrong dir.

The odd thing for me is that I know I didn't have the file you are talking about. I had aliased ls="ls -al" on the kindle and looked in that file quite a few times, all it had was the standard stuff plus a folder like "usbNet".

Are there any threads on here where the actuall packing and install method is discussed? I'd like to learn more about what the install actually automates. I'll post the whole logdump as an attachment when I get to work in a bit.

Hmm, the reason I used the /etc/whitelist was that I have never seen /mnt/us/linkjail and I have been looking in that folder with ls -al. It seems like my system's fs looked the same, I did have /mnt/us/usbNet (or something like that).

Are there any threads talking about what goes on during the kindle update install?

I didn't know which files you meant should be on the userstore, so I unpacked the 0.10.N jailbreak and the 0.35.N usbnetwork files, from what I can tell by reading the build scripts it looks like I needed to copy the linkjail folder and the usbnet folders back to my /mnt/us (this is assuming that nothing in the side of the fs I can't access has been removed by the factory reset).

I tried copying the launchpad install but no luck same u007 error, back to square one, but at least I have learned alot thus far.

congratulations!

Quote:

Originally Posted by mpetersen3

Are there any threads talking about what goes on during the kindle update install?

kindle update install, actually, consists of two major stages. The first stage is dedicated
to all that security stuff, and results into a decision if the requested update accepted or not.
Personally I find the above pretty boring, so don't know any details. I'm OK with the fact that
this allows me to write and deploy any code I want. That's more than enough for me.
The second stage is the actual install, and usually is controlled by install.sh script.
This script copies the binaries which constitute a 'hack' to the userstore (/mnt/us on Kindle)
and, if needed, creates some scripts to /etc/init.d and creates extra entries in /etc/rcS.d
and symbolic links to them. All this /etc stuff is needed mostly to enable the 'hack' to be activated
on startup.

Thanks for the reply Hluke,
Having now looked at the install.sh scripts in some hacks I have figured out as much, there is still some other stuff I am curious about that seems kindle specific, like what file ~help is drawing from, but I am sure that is in the scripts since it gets changed, I will pore over them in depth at some point in the next few days when I am avoiding my family.

I have wanted to hack my kindle as a way of learning more about linux (primarily the kernel of which I understand nothing), and to have an environment I can contribute to that I feel isn't so built up as everyday desktop linux. I know C and Java, linux is newer to me (I have only been using *nix for about a year, but not fulltime until recently with arch).

Once I can get your launchpad to work I would like to start programming/porting some stuff in c for the kindle.

p.s. your p.s. message confused me, are you making a matrix reference?