03-14-2014, 11:48 AM | #1 |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
AcXE - ACX Enabler
This hack enables using custom ACXs (Active Content Extensions, W3C Widgets activated on text selection).
These extensions can be installed by placing to folder system/acw/ in user store or to folder /opt/amazon/acw on the system partition (this is the preferred location as the firmware can remove/recreatesystem/acw/ content any time). See https://wiki.mobileread.com/wiki/Kindle_Touch_ACX for more information. Everything needed for ACX signing (signing app in Java, appropriate private key) can be found here: https://github.com/dsmid/kindle-pw2-...master/signing Attached sample ACXs adds ability to translate selection with Google Translate to your Kindle. Install AcXE (Update_acxe_*_install.bin from acxe_*.zip), put gtranslator.acx (the one for your device) in [userstore]/system/acw/, reboot Kindle and you should see a new "Google Translate" item in the "More" menu after you highlight some text. Supported languages: Spoiler:
I can add other languages if needed. This works on PW2, PW1 and Touch. Last edited by dsmid; 08-17-2014 at 05:08 AM. |
03-22-2014, 10:57 AM | #2 |
Guru
Posts: 886
Karma: 10113994
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5 [bricked], Kindle PW1
|
Could you add Serbian and Croatian language to Google Translate ACX?
edit: Tested & works on PW1 fw 5.4.4 Last edited by shamanNS; 03-22-2014 at 12:47 PM. |
03-22-2014, 02:39 PM | #3 |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Added these languages:
Code:
Ukrainian Greek Hebrew Turkish Croatian Serbian |
03-22-2014, 03:11 PM | #4 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
03-27-2014, 04:12 PM | #5 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
This does not work on the Kindle Touch (v5.3.7). I tried installing the "Update_acxe_1_install.bin" but it was deleted when I disconnected, and Update Your Kindle stayed grayed out.
|
03-28-2014, 02:57 AM | #6 | |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Quote:
It hasn't been tested on Touch though. Please report back to me after you test it. |
|
03-28-2014, 10:53 AM | #7 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Thanks! Updating now... Update is running....
|
03-28-2014, 01:42 PM | #8 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The enabler hack seems to have worked -- no error message, and I now have an empty folder "/mnt/us/acxe/" is this folder necessary?
But adding gtranslator.acx at {$KindleDrive/}"system/acw/" does nothing. I should see an extra option when tapping on a word, correct? I see no changes... It hasn't overwritten the default translation acx (I didn't think it would, but checked anyway) since it still shows default languages, not your list. I haven't tried adding it to "/opt/amazon/acw/" but I will grab kterm extension and cp it over. Last edited by eschwartz; 03-31-2014 at 10:06 AM. Reason: reworded for clarification |
03-28-2014, 05:23 PM | #9 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
...and apparently it's a read-only filesystem, so I will have to do this via USBnet?
|
03-28-2014, 06:50 PM | #10 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
When viewing the user storage area from the command line (ssh, telnet, serial port) then the full path is required. I.E: USB storage mode: /documents Is actually (viewed from the internal system) /mnt/us/documents |
|
03-28-2014, 06:56 PM | #11 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I know that.
On my computer, it is located at "/media/Kindle/system/acw/"; note the reference to root at the beginning of "/mnt/us/system/acw/"; maybe I should've made this clearer though. |
03-29-2014, 04:22 AM | #12 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
I installed AcXE on KT 5.3.7 (but not through update bundle, just by copying Upstart job and data files).
It works fine and performs bind mounts without errors. eschwartz, existence of /mnt/us/acxe/ is required by Upstart job, though, it would be nice if it would be optional (as well as debug log). Installing gtranslator.acx gives me following log: Spoiler:
And as I see in stock KT 5.3.7 ACX, button priority is recognized here through <kindle:buttonPriority> element in config.xml. So, AcXE should work fine on KT, but ACX metadata format is possibly changed in later firmwares, so it should be adapted to KT. EDIT: BTW, uninstall.sh in source code package removes /etc/upstart/binder.conf. Last edited by eureka; 03-29-2014 at 04:30 AM. |
03-29-2014, 05:38 AM | #13 | ||
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Quote:
I consider such approach to be a good idea - at least the user will get what he/she often thinks he/she will get by resetting to factory defaults. Quote:
Does anybody have KT translator.acx around ? (there should be a copy in [userstore]/system/acw/ ) Thanks for the report, I've fixed that in version 3. Last edited by dsmid; 03-29-2014 at 05:52 AM. |
||
03-29-2014, 07:05 AM | #14 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
|
03-29-2014, 07:58 AM | #15 |
Linux devotee
Posts: 598
Karma: 2069047
Join Date: Feb 2011
Device: Kindle 3, Kindle 4B, Kindle PW2
|
Sure, that's just me being lazy to download the whole bundle to get a tiny file
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ACX, as requested... | shakaote | Kindle Developer's Corner | 16 | 03-21-2014 02:55 AM |
Touch NoRefresh enabler | osowiecki | Barnes & Noble NOOK | 1 | 03-12-2012 10:46 PM |
Classic software root/adb enabler | jesse | Barnes & Noble NOOK | 0 | 12-23-2009 01:07 AM |