View Full Version : K5 GUI Launcher for Kindle Touch


Pages : 1 [2]

Akirainblack
08-24-2012, 12:13 PM
Sorry to be a nuisance, however I've added several launcher extensions to the extension folder, however none are adding to the launcher.
I've rebooted the device, am I missing something?
Please can you tell me where I'm going wrong.

Thank you.

ixtab
08-24-2012, 12:40 PM
Sorry to be a nuisance, however I've added several launcher extensions to the extension folder, however none are adding to the launcher.
I've rebooted the device, am I missing something?
Please can you tell me where I'm going wrong.

Thank you.

My crystal ball was stolen last week.

cristbo
08-24-2012, 12:48 PM
My crystal ball was stolen last week.
:rofl:

silver18
08-24-2012, 01:03 PM
I had the same problem a few days ago (after having caused a mess).
I tried to uninstall and install the launcher again but it didn't work.
It turned out to be a problem with the installation process: I placed manually the upstart script and the jar and it worked (and still works) fine!

Akirainblack
08-25-2012, 07:45 AM
Thank you for the helpful response ixtab.
I'm new to this and have followed the available instructions I have found to the letter.
If my information isn't enough, possibly asking for more would be an idea rather than a facetious remark.

silver18 if your response was to me, would you please elaborate. Thank you.

To elaborate futher..
Start USBnetwork
Orientation
Launch Sudoku

have added whilst:
jbpatch
collections manager
haven't

ixtab
08-25-2012, 08:52 AM
Thank you for the helpful response ixtab.
I'm new to this and have followed the available instructions I have found to the letter.
If my information isn't enough, possibly asking for more would be an idea rather than a facetious remark.

silver18 if your response was to me, would you please elaborate. Thank you.

To elaborate futher..
Start USBnetwork
Orientation
Launch Sudoku

have added whilst:
jbpatch
collections manager
haven't

You're getting something wrong here. It's not up to us to try to find out what your problem is, but it's up to you to give as detailed information as you can, so that we can try to help you. Look, I'm not trying to be an asshole, I just tried to tell you in a humorous way that you are providing *WAY* too little information. EDIT and yes, this may seem a little "grumpy" (and it actually is, at least a bit... we keep getting this kind of questions over and over, and we keep explaining to people that they need to provide details... again and again and again and again and... At some point it's just tiring.)/EDIT

Which Kindle Firmware version, which launcher version, and which extensions are you talking about? What *exactly* have you done? What *exactly* did you expect to be the outcome? (Well, I suppose this one is clear: there should have been launcher entries, but there aren't). Can you provide any other information? For example, is there anything suspicious in the logs?

You see, we can only try to help you if you provide enough information to start with. "It doesn't work" simply isn't enough information.

Akirainblack
08-25-2012, 02:22 PM
Hello ixtab, my apologies, I deal with "error messages" every day, from the "it's not working" to someone supplying the actual error. Oh and yes I know what you're doing is for free/donation. I've done alot of free support in my time on various forums EDIT as well as over the phone or via email 1/2 way around the world /EDIT so I know how frustrating it is. Not knowing much about this I didn't know what was pertinent and what was just fluff.

Kindle: Touch (obviously)
Firmware: 5.1.2
Jailbroken obviously
Using simple screensaver hack
KindKalc,
JBPatch
Kindlet hack
EDIT. Everything is latest version as of Friday /EDIT

unsure as to where to find the logs as I'm new.

Anything else I can proffer to help?

silver18
08-26-2012, 01:12 PM
Here's the complete description of what happened to me and how I solved it.

I was testing the newly created .bin installation file for my Komic.
As I'm mindless, I created a wrong .bin and this led to unzipping a bin folder plus config.xml and menu.json directly in extensions folder.
I don't know what happened next. All I know is that the launcher showed only 3 extensions (HUR, orientation and usbnetwork) and nothing else (though all other extensions were there!).

I tried to uninstall the launcher using the .bin provided and install it again: nothing changed.

Finally, I decided to manually install the launcher.
I extracted KindleLauncher.jar and launcher.conf from launcher_1.2.2.zip (http://www.mobileread.com/forums/showpost.php?p=2166150&postcount=238) (you can find them in src/install).
Then I copied them to my Kindle using WinSCP:
- KindleLauncher.jar in /opt/amazon/ebook/lib/
- launcher.conf in /etc/upstart/
I restarted my Kindle and now everything is working!

BTW I can't understand what happened: I didn't overwrite anything in extension folder!
Moreover, the uninstall process worked, but the install process didn't work (though I didn't get any error). I had to manually move the files as they were missing in those folders even after installing the launcher twice.
I have my launcher back now (and working), but this still seems strange to me!:blink:

knc1
08-26-2012, 03:53 PM
Sounds like a name clash.
Isn't the practice to install each ap in a sub-directory of extensions?

Either the sub-directory name was missing or an option was passed to the un-packer to suppress the directory creation.

silver18
08-26-2012, 06:19 PM
The problem was I forgot to pack the folder in the zip (I packed only bin folder, config.xml and menu.json). That's why there wasn't a subfolder!
Anyway, I can't understand the problem!

knc1
08-26-2012, 11:04 PM
The problem was I forgot to pack the folder in the zip (I packed only bin folder, config.xml and menu.json). That's why there wasn't a subfolder!
Anyway, I can't understand the problem!
All extensions use the same name(s).
So if one extension puts, say config.xml in the top level directory, the next one that does the same will overwrite the first.

I.E: Only the last installed (that doesn't us its own sub-directory) will win out in the over-write process and run as expected.

silver18
08-27-2012, 04:09 AM
The point is: there weren't such files, so I didn't overwrite anything.
Moreover, I always install extensions with their folders, so that's not the problem!
Anyway, now it works...:)

knc1
08-27-2012, 09:00 AM
My point was you are not the only person writing extensions and that even if zip'd with the sub-directory name the archive can by un-zip'd without the sub-directory name.

So it is not possible to rule out a name clash without inspecting the file structure of the machine of the **other people** who have posted problems.

silver18
08-27-2012, 09:36 AM
Mmmm...
Attached you can see what I unzip with the bin update.
And here's the relevant part of the script:
unzip komic.zip -d /mnt/us/extensions/
I take care of present komic folder before sending that command (backup important files!).
So, unless others create an extensions with the same folder name komic, it should be impossible to mess up anything.

What I did wrong when I had that problem is to forget packing up in the zip the whole komic folder. I packed only what's in it, and this led to having files unzipped directly in extensions.

Hope I managed to explain myself! :)

Akirainblack
08-28-2012, 08:49 AM
Right, got it fixed. Had to uninstall and then reinstall launcher 1.2.2 before it would see the added extensions. Thanks to those who offered help.

yiming
09-02-2012, 11:43 PM
Could someone pls tell me how the order of display of items is determined in the launcher. Can the order be customized? thanks.

Titano
09-03-2012, 12:04 AM
Could someone pls tell me how the order of display of items is determined in the launcher. Can the order be customized? thanks.
There is a menu.json in each programs dirrectory. There should be a part in that file that says "priority" like in the example below.
{"name": "Bla", "priority": 0, "action": "/bla/bla/bla.sh"}Edit the number to the priority you want and save the file. So if you want the program "Bla" to be number 10 on the list then change the priority to 10 like below.

{"name": "Bla", "priority": 10, "action": "/bla/bla/bla.sh"}

knc1
09-03-2012, 07:21 AM
Quick question:
Isn't that field named: "priority" actually implementing "priority groups"?

I.E: More that one item could be set as: "priority":5 and will all of those be grouped together for display (between "priority":4 and "priority":6 items).

Translation: The end-user does not have to be concerned about duplicating an existing priority number?

ixtab
09-03-2012, 07:49 AM
Quick question:
Isn't that field named: "priority" actually implementing "priority groups"?

I.E: More that one item could be set as: "priority":5 and will all of those be grouped together for display (between "priority":4 and "priority":6 items).

Translation: The end-user does not have to be concerned about duplicating an existing priority number?

Yes, and no.

It's a very simple system: every extension can declare their own priority. The sorting is done once all extensions are loaded. If everybody declares a different priority, then all is fine, and entries are sorted in ascending order of their (numerical) declared priority.

If two or more extensions declare the same priority, then they are sorted according to the internal rules of the sort algorithm that is internally employed. There are no guarantees about the sort order though, so don't rely on any.

yiming
09-03-2012, 12:13 PM
@Titano, @ixtab

thanks for the answers. managed to change the order of items in my launcher using the method, except HackedUpReader, which had been added to the launcher using the HackedUpReaderExtension. HackedUpReader has no menu.json and ends up as the 1st item on the list.

Titano
09-03-2012, 12:22 PM
@Titano, @ixtab

thanks for the answers. managed to change the order of items in my launcher using the method, except HackedUpReader, which had been added to the launcher using the HackedUpReaderExtension. HackedUpReader has no menu.json and ends up as the 1st item on the list.

Try using Varnie's Launcher here (https://github.com/varnie/HackedUpReaderLauncher) you might need to change a few other things in the file to launcher hacked up reader though. If you want it to launch hacked up reader you need change the path for the executable. It should look something like below.
{"name": "Launch HackedUpReader", "priority": 1, "action": "/mnt/us/hackedupreader/bin/cr3"}You can read about this in the first post of hacked up reader here (http://www.mobileread.com/forums/showthread.php?t=170436).

bhaak
09-03-2012, 12:42 PM
thanks for the answers. managed to change the order of items in my launcher using the method, except HackedUpReader, which had been added to the launcher using the HackedUpReaderExtension. HackedUpReader has no menu.json and ends up as the 1st item on the list.
That's because the priority is set when the launcher entry is generated in the Java code of the hackedupreader extension.

AFAIK there is currently no way of setting the priority for a Java implemented launcher item outside of the code itself.

pirl8
09-16-2012, 08:36 AM
One more extension: load/unload Reading Timer reader plugin (http://www.mobileread.com/forums/showthread.php?t=191162) (hidden feature present on newer Kindle PaperWhite). Can anybody help me (or address me) on generating a proper install/uninstall package?

twobob
09-16-2012, 08:40 AM
@pirl8

Niluje released an updated packager to make the .bin files.
It's an updated version of the original python script.

Have a look here
EDIT: NOW FIXED. Cheers Niluje
http://www.mobileread.mobi/forums/showthread.php?t=187880

NiLuJe
09-16-2012, 10:31 AM
@twobob: Broken link (http://www.mobileread.com/forums/showthread.php?t=187880) (the ellipsis isn't a fake one ;)).

@pirl8: Between the examples in there and ixtab's packages, you should have enough reading material to get how this works ;).

ixtab
09-16-2012, 10:36 AM
@pirl8: Feel free to create an installer package, but I personally think it's a bit over the top.

After all, the installation is achieved by copying a folder into the "extensions" folder on the USB disk, and restarting the framework. That's exactly the same amount of effort as copying a bin file to the USB disk and updating the framework. :D

pirl8
09-16-2012, 11:16 AM
@pirl8: Feel free to create an installer package, but I personally think it's a bit over the top.

After all, the installation is achieved by copying a folder into the "extensions" folder on the USB disk, and restarting the framework. That's exactly the same amount of effort as copying a bin file to the USB disk and updating the framework. :D

I definitely agree!

blueshiftlabs
10-07-2012, 05:26 AM
Does this work with the Paperwhite, too? I've been trying to get it to install without any luck. "Update Your Kindle" is grayed out, and when I remount my PW, the update file is gone from the root directory.

ixtab
10-07-2012, 05:52 AM
Does this work with the Paperwhite, too? I've been trying to get it to install without any luck. "Update Your Kindle" is grayed out, and when I remount my PW, the update file is gone from the root directory.

Actually, it's a bliss that these update files contain markers for the devices that they can run on, and that they refuse to run on other devices - otherwise, we'd probably be swamped by requests from users who bricked their Kindle by installing an update file which doesn't work on their device.

If you're really adventurous, you can try to install it manually via usbnetwork. But because the home screen has been completely changed on the PW, chances are that you'll just entirely screw up everything - maybe up to the point of bricking the device. And remember, the only current known way to debrick the device is via a serial console - physically opening the device and all that.

So: no, at this point it is NOT recommended to try this on the PW.

Kobudera
12-01-2012, 03:50 PM
Hi!

My Kindle details are:
Kindle Touch
fw: 5.1.2
I've installed Jailbreak 1.7N but the "update your Kindle" option doesn't work after I've put the BIN of the Gui Launcher Installer.
I did everything as it have to but it doesn't work.
Could you help me?

Bagerfahrer
12-01-2012, 11:47 PM
Maybe you have to use the command to update your kindle manually over console or usbnetwork if you have a .bin file in your root (mnt/us/).

lipc-set-prop com.lab126.ota startUpdate 1

I am not sure that this works for you so do not be sad if this not work. :)

Best regards

twobob
12-02-2012, 11:16 AM
Hi!

My Kindle details are:
Kindle Touch
fw: 5.1.2
I've installed Jailbreak 1.7N but the "update your Kindle" option doesn't work after I've put the BIN of the Gui Launcher Installer.
I did everything as it have to but it doesn't work.
Could you help me?

I shoved that in

http://www.mobileread.com/forums/showpost.php?p=2247130&postcount=7

as i got tired of typing.. ;)
labelled as RUN GRAY INSTALL

h1ro
12-08-2012, 06:35 PM
I managed to run this on paperwhite, but the keyboard part doesn't get displayed. Any ideas?

h1ro
12-08-2012, 06:37 PM
chances are that you'll just entirely screw up everything - maybe up to the point of bricking the device. And remember, the only current known way to debrick the device is via a serial console - physically opening the device and all that.

So: no, at this point it is NOT recommended to try this on the PW.

can you please elaborate on the risks here? I can't understand what is so dangerous about it. perhaps I'm missing some automagic?

dukesilver
01-04-2013, 04:51 PM
Hey guys, I need a little help getting this working. I'm trying to install this so that I can use the K5 Reading Timer launcher extension.

During installation, the kindle gave me a message saying that the update was successful and rebooted. The problem is I do not see a new launcher option in the home screen menu, nor in the book menu.

My Kindle Touch with SOs is on 5.1.2 and it is jailbroken (with the data.stgz file). No other hacks have been applied.

Here are the steps I took to install:
1. extracted and copied the update_launcher_1.0.1_install.bin file (and nothing else) to the root directory of my kindle while it was mounted as a usb drive.
2. Unmounted my kindle and disconnected the usb cable.
3. used Menu > Settings, Menu > Update your Kindle

The update did install an extensions folder with sub-folders and files for orientation and usbnetwork. I also followed the steps to add the reading timer extension and rebooted, but of course I still do not see the "Launcher" menu item, nor any other additional menu options that I didn't already have before.

Did I miss an installation step?

ixtab
01-04-2013, 04:56 PM
You're not using the correct version (http://wiki.mobileread.com/wiki/Kindle_Touch_Hacking#GUI_Launcher) for your firmware.

dukesilver
01-04-2013, 05:19 PM
You're not using the correct version (http://wiki.mobileread.com/wiki/Kindle_Touch_Hacking#GUI_Launcher) for your firmware.

Thank you, that worked! The first post unfortunately only points to the older version.

twobob
01-04-2013, 05:56 PM
Correct. Although this thread is about that older version... (author now off hurting games devices IIRC although he probably is off hurting something else by now ;) )

Maybe a mod would be so kind as to amend the text... and add the shout out

ixtab
01-04-2013, 06:10 PM
Correct. Although this thread is about that older version... (author now off hurting games devices IIRC although he probably is off hurting something else by now ;) )

Maybe a mod would be so kind as to amend the text... and add the shout out

Done. Still, I feel uncomfortable editing other peoples' posts... ;)

twobob
01-04-2013, 08:41 PM
*worship*

knc1
01-04-2013, 10:52 PM
Done. Still, I feel uncomfortable editing other peoples' posts... ;)
On this forum - You are god(dess).

geekmaster
01-04-2013, 11:10 PM
On this forum - You are god(dess).If ixtab's fear of trampling the posts of others fades, he will become neither a god nor a goddess, but a godzilla.

http://upload.wikimedia.org/wikipedia/en/f/f5/GodzillaKing.jpg (http://en.m.wikipedia.org/wiki/Godzilla,_King_of_the_Monsters!)

Or, a dogzilla?

http://www.laughingdogbrewing.com/ldb/sites/default/files/images/brews/labels/laughing-dog-brewing-label-dogzilla-black-ipa-400px.jpg (http://www.laughingdogbrewing.com/ldb/brews/dogzilla-black-ipa)

EDIT: No disrespect intended by this post. In fact, ixtab has well earned my respect with his valuable contributions and friendly advice in the kindle forums. I am just poking a little friendly fun at his fear of accidentally abusing his recently bestowed god-like forum moderators powers. I respect that fear. :D

a123b
01-16-2013, 12:47 PM
Will this be updated to Kindle Paperwhite? Why it doesn't work? I looked at the source code and guess that the menu entries are added through Amazon's "com.amazon.ebook.booklet.reader.sdk.ui.MenuInserte r" interface. Did they remove it in the PW firmware or is there any other reason why it doesn't work on PW?

ixtab
01-16-2013, 01:08 PM
It won't be updated for new firmwares, because Amazon changes its obfuscation with every new version.

However, we're working on a replacement.

silver18
01-16-2013, 03:01 PM
Hooray!!!!! :D

aditya3098
01-20-2013, 03:44 AM
It won't be updated for new firmwares, because Amazon changes its obfuscation with every new version.

However, we're working on a replacement.

Is is a jbpatch? Is it backward compatible with old extensions?

varnie
01-20-2013, 04:38 AM
Hi all.
I just found out that CrazyCoder and pvnhome coded another apps runner (pretty simple and cool!).
Tried that on the latest KT firmware and it worked well.
Now I can launch my CR3 (NOT CrazyCoder's QT version) build again and read FB2 books ;)

More info can be found here on Russian forum (http://www.the-ebook.org/forum/viewtopic.php?t=25430) (read the section/chapter "13." there).

Yes, it is based on ixtab's researchs, so thank you again, ixtab!

6od9
01-20-2013, 05:05 AM
Hi all.
I just found out that CrazyCoder and pvnhome coded another apps runner (pretty simple and cool!).
Tried that on the latest KT firmware and it worked well.
Now I can launch my CR3 (NOT CrazyCoder's QT version) build again and read FB2 books ;)

More info can be found here on Russian forum (http://www.the-ebook.org/forum/viewtopic.php?t=25430) (read the section/chapter "13." there).

Yes, it is based on ixtab's researchs, so thank you again, ixtab!

Hi, you can write a manual how to launch your version CR3 on the latest KT firmware?

varnie
01-24-2013, 01:22 PM
6od9, hi, man!
sorry for the delay.
it's pretty simple.
so, as I said, you need to install that CrazyCoder and pvnhome's application.
then edit "commands.txt" file coming with that program and add the following line there:

/mnt/us/extensions/HackedUpReaderLauncher/bin/;hur.sh;NULL;CR


As for the "hur.sh", it is located in "extensions/HackedUpReaderLauncher/bin" (as it is stated above). it contains the following:

#!/bin/sh
env LANGUAGE=ru_RU /mnt/us/hackedupreader/bin/cr3


Of course your path may vary, but I hope you got the idea.

knc1
01-24-2013, 01:59 PM
Is is a jbpatch? Is it backward compatible with old extensions?
1) No
2) Yes
http://www.mobileread.com/forums/showthread.php?t=203326