Skip to content

Commit

Permalink
Paperwhite 1 (5.4.4) support
Browse files Browse the repository at this point in the history
Fixed minor glitches in 5.4.2 tree
  • Loading branch information
dsmid committed Mar 15, 2014
1 parent 35e5a40 commit 9ad9804
Show file tree
Hide file tree
Showing 533 changed files with 14,885 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config
7 changes: 7 additions & 0 deletions config_5.4.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HACKNAME=loc_cz
HACKLANG=cs
DEVICE=paperwhite2
VERSION=5.4.2
RELEASE=r3
INSTALLKUG=yes
README=cti-me
1 change: 1 addition & 0 deletions config_5.4.3
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
HACKNAME=loc_cz
HACKLANG=cs
DEVICE=paperwhite2
VERSION=5.4.3
RELEASE=r3
INSTALLKUG=yes
Expand Down
7 changes: 7 additions & 0 deletions config_5.4.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HACKNAME=loc_cz
HACKLANG=cs
DEVICE=paperwhite
VERSION=5.4.4
RELEASE=test1
INSTALLKUG=yes
README=cti-me
Binary file modified kindle_loc.sqlite
Binary file not shown.
Binary file removed kindle_loc.sqlite.base
Binary file not shown.
59 changes: 59 additions & 0 deletions loc_hack/src/README_5.4.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Česká lokalizace pro Kindle Paperwhite 1 s firmwarem 5.4.4
==========================================================

Určeno pro starší model označovaný jako Paperwhite či Paperwhite (2012)
_Není_ určeno pro novější model označovaný jako Paperwhite 2, All-New Paperwhite či Paperwhite (2013)

Nejnovější verze vždy na https://github.com/dsmid/kindle-pw2-l10n-cs/releases

Více viz tento článek: http://www.eboocek.cz/2014/02/cestina-pro-kindle-paperwhite-2/
V případě problémů se obraťte na autora v diskusi pod článkem:
http://www.eboocek.cz/2014/02/cestina-pro-kindle-paperwhite-2/#comments

1) Ujistěte se, že máte nainstalovaný jailbreak, případně ho nainstalujte odsud:
https://github.com/dsmid/kindle-pw2-l10n-cs/releases/tag/jailbreak

2) Po rozbalení zipu vyberte soubor končící na _install.bin.
Ten nakopírujte přes USB do kořenu Kindlu (tj. tam, kde se nachází i složka documents).

3) Bezpečně odeberte Kindle z počítače ("Bezpečně odebrat" či "Vysunout") a odpojte

4) Pak už jen ve čtečce zvolte Menu->Settings, Menu->Update Your Kindle a čekejte,
než se instalace dokončí.

5) Pokud je položka menu "Update Your Kindle" šedivá, restartujte Kindle (Menu -> Settings,
Menu -> Restart) a zkuste znovu bod 4.

Aktualizace firmwaru na Kindlu s nainstalovanou češtinou může mít nepředvídatelné důsledky,
proto jsem do lokalizace zabudoval pojistku, jež by měla aktivně bránit tichým vnuceným
aktualizacím ze strany Amazonu.
Ruční aktualizace zůstane funkční, nicméně důrazně před ní varuji.
Pokud skutečně chcete svůj Kindle aktualizovat, odinstalujte nejprve češtinu s použitím
odinstalačního balíčku (končícího na _uninstall.bin) a aktualizujte firmware.
Jailbreak odinstalovávat nemusíte, naopak doporučuji ho před aktualizací firmwaru zachovat,
protože nikdy nevíte, zda půjde na nový firmware opět nainstalovat.

Pokud chcete nainstalovat novou verzi češtiny a ve čtečce již máte starší verzi, není
třeba tuto starší verzi odinstalovávat, stačí prostě jen instalovat tu novou.

Čeština se nainstaluje jen jako další jazyk k těm, které už v čtečce jsou od výrobce
a nebude tak problém přepnout zpátky na angličtinu či jiný jazyk, aniž by bylo nutné
cokoliv odinstalovávat.

Součástí lokalizace je i uživatelská příručka v češtině a česká klávesnice.

Dalším vylepšením, které lokalizace přináší, je zmenšení nesmyslně širokých okrajů.
Pokud by vám přesto vyhovovaly ty původní, nakopírujte soubor original_margins do
složky localization na Kindlu a pak čtečku restartujte.
Podobně je upraven i výběr velikostí písma, který obsahuje trochu užitečnější hodnoty.
Tato úprava přináší i možnost zalomení PDF pomocí volby menu "Pouze textové zobrazení".
Pro navrácení původního výběru nakopírujte do složky localization na Kindlu soubor
original_fontsizes a čtečku restartujte.

Pokud budete čtečku s nainstalovanou lokalizací restartovat s připojeným USB kabelem,
lokalizace se jednorázově deaktivuje. To je záměrná bezpečnostní pojistka, nejedná se
o chybu. Po odpojení kabelu a dalším restartu bude Kindle opět v češtině.


David Šmíd
[email protected]
4 changes: 2 additions & 2 deletions loc_hack/src/build-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ sed "s/%VERSION%/${VERSION}/g;s/%INSTALLKUG%/${INSTALLKUG}/g" < localization.con

# Build install update
cp -f install.sh run.ffs
./kindletool create ota2 --device paperwhite2 run.ffs localization.conf localization.pack debrick debrick.conf dropbear_dss_host_key dropbear_rsa_host_key dropbearmulti version.txt Update_${ARCH}_install.bin
./kindletool create ota2 --device $DEVICE run.ffs localization.conf localization.pack debrick debrick.conf dropbear_dss_host_key dropbear_rsa_host_key dropbearmulti version.txt Update_${ARCH}_install.bin

# Build uninstall update
cp -f uninstall.sh run.ffs
./kindletool create ota2 --device paperwhite2 run.ffs Update_${ARCH}_uninstall.bin
./kindletool create ota2 --device $DEVICE run.ffs Update_${ARCH}_uninstall.bin

rm -f run.ffs
rm -f localization.pack
Expand Down
Binary file added root_5.4.4/opt/amazon/acw/authorpages.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/comments.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/corrections.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/endactions.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/gotoui.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/sharing.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/translator.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/wikipedia.acx
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/acw/xray.acx
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions root_5.4.4/opt/amazon/ebook/config/locales/en.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
locale=en
display.name=English
locales.supported=en-US,en-GB
display.name.en-US=English (United States)
display.name.en-GB=English (United Kingdom)
default.keyboard.en-US=en_US
default.keyboard.en-GB=en_GB
native.name.en-GB=English (United Kingdom)
native.name.en-US=English (United States)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/ebook/lib/ReadingTimer.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/ebook/lib/home-en_GB.jar
Binary file not shown.
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/ebook/lib/kaf-en_GB.jar
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/ebook/lib/kafui-en_GB.jar
Binary file not shown.
Binary file added root_5.4.4/opt/amazon/ebook/lib/oobe-en_GB.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
211 changes: 211 additions & 0 deletions root_5.4.4/opt/amazon/ebook/security/defaultPolicies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
{
"AmazonActiveContentExtensions" : {
"type" : "WidgetPolicy",
"version" : 1.0,
"isProductionKey" : true,
"permissions" : [
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/jquery",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/JQueryPaginate",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/ApplicationLauncher",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/messenger",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/odot",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/SidecarAccess",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/DeviceEventTracking",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/gestures",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/pagination",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/reader",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/connectivity",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/marketplace",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/uitest",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/windowextensions",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/webstorage",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/device",
"allowed" : true
}
]
}
,
"wuaexternal" : {
"type" : "WidgetPolicy",
"version" : 1.0,
"isProductionKey" : true,
"permissions" : [
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/jquery",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/JQueryPaginate",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/connectivity",
"allowed" : false
}
]
}
,
"kindlet" : {
"type" : "WidgetPolicy",
"version" : 1.0,
"permissions" : [
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/jquery",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/JQueryPaginate",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/ApplicationLauncher",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/messenger",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/odot",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/SidecarAccess",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/DeviceEventTracking",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/gestures",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/pagination",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/reader",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/connectivity",
"allowed" : true
},
{
"type" : "WidgetFeaturePermission",
"version" : 1.0,
"name" : "http://kindle.amazon.com/features/windowextensions",
"allowed" : true
}
]
}
}

59 changes: 59 additions & 0 deletions root_5.4.4/opt/amazon/ebook/security/keystore_mesquite.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Keys xmlns="http://www.aleksey.com/xmlsec/2002" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:KeyInfo>
<dsig:KeyName>wuaexternal</dsig:KeyName>
<dsig:KeyValue>
<dsig:DSAKeyValue>
<dsig:P>/X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuA
HTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOu
K2HXKu/yIgMZndFIAcc=</dsig:P>
<dsig:Q>l2BQjxUjC8yykrmCouuEC/BYHPU=</dsig:Q>
<dsig:G>9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3
zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKL
Zl6Ae1UlZAFMO/7PSSo=</dsig:G>
<dsig:Y>EVOrNEM6OmpQ4DZTOYTh74B/tXFkXggwSr0WKKcowMOoIslMa3kY24XmdUy04FFG8aMvbgf6x03r
9fRV7F7yHPSOyWGysLHe2lhiywm8QENKqf/oHtAZZ7h9VzblQB2tkZh3IXOgmLvSF2fAciU+OuFS
VCQAgZX5PsHFp9ouNBY=</dsig:Y>
</dsig:DSAKeyValue>
</dsig:KeyValue>
</dsig:KeyInfo>

<!--
AmazonActiveContentExtensions is used as WUA's 1st party certificate
-->
<dsig:KeyInfo>
<dsig:KeyName>AmazonActiveContentExtensions</dsig:KeyName>
<dsig:KeyValue>
<dsig:DSAKeyValue>
<dsig:P>/X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuA
HTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOu
K2HXKu/yIgMZndFIAcc=</dsig:P>
<ds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ZBjjnmze/3DLYOL4pOW4IfR474wRy8yAXimor2IGRl163
e53nVUGLZQAbBPQ9XDM=</dsig:Y>
</dsig:DSAKeyValue>
</dsig:KeyValue>
</dsig:KeyInfo>
</Keys>
Binary file not shown.
Loading

0 comments on commit 9ad9804

Please sign in to comment.