From 9f5565bd107ea3d90b887d6152a760839b2aeca8 Mon Sep 17 00:00:00 2001 From: Baligh Uddin Date: Tue, 26 Apr 2016 13:38:33 -0700 Subject: Import translations. DO NOT MERGE Change-Id: Idd1fdeee52a77d6fb4ecc271b6fdfc41e62b2bd0 Auto-generated-cl: translation import --- tools/recovery_l10n/res/values-af/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-am/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ar/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-az-rAZ/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-bg/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-bn-rBD/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ca/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-cs/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-da/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-de/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-el/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-en-rAU/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-en-rGB/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-en-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-es-rUS/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-es/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-et-rEE/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-eu-rES/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fa/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fi/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fr-rCA/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-gl-rES/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-gu-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hi/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hu/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hy-rAM/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-in/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-is-rIS/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-it/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-iw/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ja/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ka-rGE/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-kk-rKZ/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-km-rKH/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-kn-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ko/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ky-rKG/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-lo-rLA/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-lt/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-lv/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-mk-rMK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ml-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-mn-rMN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-mr-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ms-rMY/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-my-rMM/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-nb/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ne-rNP/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-nl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pa-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pt-rBR/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pt-rPT/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pt/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ro/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ru/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-si-rLK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sk/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sq-rAL/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sv/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sw/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ta-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-te-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-th/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-tl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-tr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-uk/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ur-rPK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-uz-rUZ/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-vi/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zh-rCN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zh-rHK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zh-rTW/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zu/strings.xml | 8 ++++---- 78 files changed, 312 insertions(+), 312 deletions(-) diff --git a/tools/recovery_l10n/res/values-af/strings.xml b/tools/recovery_l10n/res/values-af/strings.xml index 60df0e212..b1974da20 100644 --- a/tools/recovery_l10n/res/values-af/strings.xml +++ b/tools/recovery_l10n/res/values-af/strings.xml @@ -1,9 +1,9 @@ - "Installeer tans stelselopdatering …" - "Vee tans uit …" - "Geen opdrag nie." + "Installeer tans stelselopdatering" + "Vee tans uit" + "Geen opdrag nie" "Fout!" - "Installeer tans sekuriteitopdatering …" + "Installeer tans sekuriteitopdatering" diff --git a/tools/recovery_l10n/res/values-am/strings.xml b/tools/recovery_l10n/res/values-am/strings.xml index 23aba9d0b..75c17fbad 100644 --- a/tools/recovery_l10n/res/values-am/strings.xml +++ b/tools/recovery_l10n/res/values-am/strings.xml @@ -1,9 +1,9 @@ - "የስርዓት ዝማኔ በመጫን ላይ…" - "በመደምሰስ ላይ…" - "ምንም ትዕዛዝ የለም።" + "የሥርዓት ዝማኔን በመጫን ላይ…" + "በመደምሰስ ላይ" + "ምንም ትዕዛዝ የለም" "ስህተት!" - "የደህንነት ዝማኔን በመጫን ላይ…" + "የደህንነት ዝማኔ በመጫን ላይ" diff --git a/tools/recovery_l10n/res/values-ar/strings.xml b/tools/recovery_l10n/res/values-ar/strings.xml index 594781082..601b5832b 100644 --- a/tools/recovery_l10n/res/values-ar/strings.xml +++ b/tools/recovery_l10n/res/values-ar/strings.xml @@ -1,9 +1,9 @@ - "جارٍ تثبيت تحديث النظام…" - "جارٍ المسح…" - "ليس هناك أي أمر." + "جارٍ تثبيت تحديث النظام" + "جارٍ محو البيانات" + "ليس هناك أي أمر" "خطأ!" - "جارٍ تثبيت تحديث الأمان…" + "جارٍ تثبيت تحديث الأمان" diff --git a/tools/recovery_l10n/res/values-az-rAZ/strings.xml b/tools/recovery_l10n/res/values-az-rAZ/strings.xml index 6dc965ae5..c6765a9ea 100644 --- a/tools/recovery_l10n/res/values-az-rAZ/strings.xml +++ b/tools/recovery_l10n/res/values-az-rAZ/strings.xml @@ -1,9 +1,9 @@ - "Sistem güncəlləməsi quraşdırılır..." - "Silinir..." - "Əmr yoxdur." + "Sistem güncəlləməsi quraşdırılır..." + "Silinir" + "Əmr yoxdur" "Xəta!" - "Təhlükəsizlik güncəlləməsi yüklənir…" + "Təhlükəsizlik güncəlləməsi yüklənir" diff --git a/tools/recovery_l10n/res/values-bg/strings.xml b/tools/recovery_l10n/res/values-bg/strings.xml index 6fca52b95..9e628a2af 100644 --- a/tools/recovery_l10n/res/values-bg/strings.xml +++ b/tools/recovery_l10n/res/values-bg/strings.xml @@ -1,9 +1,9 @@ - "Системната актуализация се инсталира…" - "Изтрива се…" - "Без команда." + "Системната актуализация се инсталира" + "Изтрива се" + "Без команда" "Грешка!" - "Инсталира се актуализация на сигурността…" + "Актуализацията на сигурносттa се инсталира" diff --git a/tools/recovery_l10n/res/values-bn-rBD/strings.xml b/tools/recovery_l10n/res/values-bn-rBD/strings.xml index 4f5d8d7d1..0a481faf1 100644 --- a/tools/recovery_l10n/res/values-bn-rBD/strings.xml +++ b/tools/recovery_l10n/res/values-bn-rBD/strings.xml @@ -1,9 +1,9 @@ - "সিস্টেম আপডেট ইনস্টল করা হচ্ছে…" - "মোছা হচ্ছে…" - "কোনো নির্দেশ নেই।" + "সিস্টেম আপডেট ইনস্টল করা হচ্ছে" + "মোছা হচ্ছে" + "কোনো আদেশ নেই" "ত্রুটি!" - "নিরাপত্তার আপডেট ইনস্টল করা হচ্ছে…" + "নিরাপত্তার আপডেট ইনস্টল করা হচ্ছে" diff --git a/tools/recovery_l10n/res/values-ca/strings.xml b/tools/recovery_l10n/res/values-ca/strings.xml index 05cc0e2e6..3f266d2df 100644 --- a/tools/recovery_l10n/res/values-ca/strings.xml +++ b/tools/recovery_l10n/res/values-ca/strings.xml @@ -1,9 +1,9 @@ - "S\'està instal·lant l\'actualització del sistema…" - "S\'està esborrant…" - "No hi ha cap ordre." + "S\'està instal·lant una actualització del sistema" + "S\'està esborrant" + "No hi ha cap ordre" "S\'ha produït un error" - "S\'està instal·lant l\'actualització de seguretat…" + "S\'està instal·lant una actualització de seguretat" diff --git a/tools/recovery_l10n/res/values-cs/strings.xml b/tools/recovery_l10n/res/values-cs/strings.xml index b7f4a2ced..eb436a810 100644 --- a/tools/recovery_l10n/res/values-cs/strings.xml +++ b/tools/recovery_l10n/res/values-cs/strings.xml @@ -1,9 +1,9 @@ - "Instalace aktualizace systému..." - "Mazání…" - "Žádný příkaz." + "Instalace aktualizace systému" + "Mazání" + "Žádný příkaz" "Chyba!" - "Instalace aktualizace zabezpečení…" + "Instalace aktualizace zabezpečení" diff --git a/tools/recovery_l10n/res/values-da/strings.xml b/tools/recovery_l10n/res/values-da/strings.xml index 225abbe5e..c6e64a245 100644 --- a/tools/recovery_l10n/res/values-da/strings.xml +++ b/tools/recovery_l10n/res/values-da/strings.xml @@ -1,9 +1,9 @@ - "Systemopdateringen installeres…" - "Sletter…" - "Ingen kommando." + "Installerer systemopdateringen" + "Sletter" + "Ingen kommando" "Fejl!" - "Installerer sikkerhedsopdatering..." + "Installerer sikkerhedsopdateringen" diff --git a/tools/recovery_l10n/res/values-de/strings.xml b/tools/recovery_l10n/res/values-de/strings.xml index d05967e7d..6b6726a23 100644 --- a/tools/recovery_l10n/res/values-de/strings.xml +++ b/tools/recovery_l10n/res/values-de/strings.xml @@ -1,9 +1,9 @@ - "Systemupdate wird installiert…" - "Wird gelöscht…" - "Kein Befehl" + "Systemupdate wird installiert" + "Wird gelöscht" + "Kein Befehl" "Fehler" - "Sicherheitsupdate wird installiert…" + "Sicherheitsupdate wird installiert" diff --git a/tools/recovery_l10n/res/values-el/strings.xml b/tools/recovery_l10n/res/values-el/strings.xml index 30936ec79..4cb2da5f9 100644 --- a/tools/recovery_l10n/res/values-el/strings.xml +++ b/tools/recovery_l10n/res/values-el/strings.xml @@ -1,9 +1,9 @@ - "Εγκατάσταση ενημέρωσης συστήματος…" - "Διαγραφή…" - "Καμία εντολή." + "Εγκατάσταση ενημέρωσης συστήματος" + "Διαγραφή" + "Καμία εντολή" "Σφάλμα!" - "Εγκατάσταση ενημέρωσης ασφαλείας…" + "Εγκατάσταση ενημέρωσης ασφαλείας" diff --git a/tools/recovery_l10n/res/values-en-rAU/strings.xml b/tools/recovery_l10n/res/values-en-rAU/strings.xml index f69a058a6..dc75c2374 100644 --- a/tools/recovery_l10n/res/values-en-rAU/strings.xml +++ b/tools/recovery_l10n/res/values-en-rAU/strings.xml @@ -1,9 +1,9 @@ - "Installing system update…" - "Erasing…" - "No command." + "Installing system update" + "Erasing" + "No command" "Error!" - "Installing security update…" + "Installing security update" diff --git a/tools/recovery_l10n/res/values-en-rGB/strings.xml b/tools/recovery_l10n/res/values-en-rGB/strings.xml index f69a058a6..dc75c2374 100644 --- a/tools/recovery_l10n/res/values-en-rGB/strings.xml +++ b/tools/recovery_l10n/res/values-en-rGB/strings.xml @@ -1,9 +1,9 @@ - "Installing system update…" - "Erasing…" - "No command." + "Installing system update" + "Erasing" + "No command" "Error!" - "Installing security update…" + "Installing security update" diff --git a/tools/recovery_l10n/res/values-en-rIN/strings.xml b/tools/recovery_l10n/res/values-en-rIN/strings.xml index f69a058a6..dc75c2374 100644 --- a/tools/recovery_l10n/res/values-en-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-en-rIN/strings.xml @@ -1,9 +1,9 @@ - "Installing system update…" - "Erasing…" - "No command." + "Installing system update" + "Erasing" + "No command" "Error!" - "Installing security update…" + "Installing security update" diff --git a/tools/recovery_l10n/res/values-es-rUS/strings.xml b/tools/recovery_l10n/res/values-es-rUS/strings.xml index 6c9c747d3..06b86069b 100644 --- a/tools/recovery_l10n/res/values-es-rUS/strings.xml +++ b/tools/recovery_l10n/res/values-es-rUS/strings.xml @@ -1,9 +1,9 @@ - "Instalando actualización del sistema…" - "Borrando…" - "Ningún comando" + "Instalando actualización del sistema" + "Borrando" + "Ningún comando" "Error" - "Instalando actualización de seguridad…" + "Instalando actualización de seguridad" diff --git a/tools/recovery_l10n/res/values-es/strings.xml b/tools/recovery_l10n/res/values-es/strings.xml index fc4eda96f..d8618f2f4 100644 --- a/tools/recovery_l10n/res/values-es/strings.xml +++ b/tools/recovery_l10n/res/values-es/strings.xml @@ -1,9 +1,9 @@ - "Instalando actualización del sistema…" - "Borrando…" - "Sin comandos." + "Instalando actualización del sistema" + "Borrando" + "Sin comandos" "Error" - "Instalando actualización de seguridad…" + "Instalando actualización de seguridad" diff --git a/tools/recovery_l10n/res/values-et-rEE/strings.xml b/tools/recovery_l10n/res/values-et-rEE/strings.xml index c448a5fa9..072a9ef80 100644 --- a/tools/recovery_l10n/res/values-et-rEE/strings.xml +++ b/tools/recovery_l10n/res/values-et-rEE/strings.xml @@ -1,9 +1,9 @@ - "Süsteemivärskenduste installimine ..." - "Kustutamine ..." - "Käsk puudub." + "Süsteemivärskenduse installimine" + "Kustutamine" + "Käsk puudub" "Viga!" - "Turvavärskenduse installimine …" + "Turvavärskenduse installimine" diff --git a/tools/recovery_l10n/res/values-eu-rES/strings.xml b/tools/recovery_l10n/res/values-eu-rES/strings.xml index f0374dade..5540469d0 100644 --- a/tools/recovery_l10n/res/values-eu-rES/strings.xml +++ b/tools/recovery_l10n/res/values-eu-rES/strings.xml @@ -1,9 +1,9 @@ - "Sistemaren eguneratzea instalatzen…" - "Ezabatzen…" - "Ez dago agindurik." + "Sistemaren eguneratzea instalatzen" + "Eduki guztia ezabatzen" + "Ez dago agindurik" "Errorea" - "Segurtasun-eguneratzea instalatzen…" + "Segurtasun-eguneratzea instalatzen" diff --git a/tools/recovery_l10n/res/values-fa/strings.xml b/tools/recovery_l10n/res/values-fa/strings.xml index bd85fc65a..cc390ae84 100644 --- a/tools/recovery_l10n/res/values-fa/strings.xml +++ b/tools/recovery_l10n/res/values-fa/strings.xml @@ -1,9 +1,9 @@ - "در حال نصب به‌روزرسانی سیستم ..." - "پاک کردن..." - "فرمانی موجود نیست." + "در حال نصب به‌روزرسانی سیستم" + "در حال پاک کردن" + "فرمانی وجود ندارد" "خطا!" - "درحال نصب به‌روزرسانی امنیتی…‏" + "در حال نصب به‌روزرسانی امنیتی" diff --git a/tools/recovery_l10n/res/values-fi/strings.xml b/tools/recovery_l10n/res/values-fi/strings.xml index 34e79b9fc..5141642c8 100644 --- a/tools/recovery_l10n/res/values-fi/strings.xml +++ b/tools/recovery_l10n/res/values-fi/strings.xml @@ -1,9 +1,9 @@ - "Asennetaan järjestelmäpäivitystä..." - "Tyhjennetään..." - "Ei komentoa." + "Asennetaan järjestelmäpäivitystä" + "Tyhjennetään" + "Ei komentoa" "Virhe!" - "Asennetaan suojauspäivitystä…" + "Asennetaan tietoturvapäivitystä" diff --git a/tools/recovery_l10n/res/values-fr-rCA/strings.xml b/tools/recovery_l10n/res/values-fr-rCA/strings.xml index 3b2bdf68e..b2415290b 100644 --- a/tools/recovery_l10n/res/values-fr-rCA/strings.xml +++ b/tools/recovery_l10n/res/values-fr-rCA/strings.xml @@ -1,9 +1,9 @@ - "Installation de la mise à jour du système en cours…" - "Effacement en cours…" - "Aucune commande." + "Installation de la mise à jour du système en cours…" + "Suppression en cours..." + "Aucune commande" "Erreur!" - "Installation de la mise à jour de sécurité en cours..." + "Installation de la mise à jour de sécurité en cours..." diff --git a/tools/recovery_l10n/res/values-fr/strings.xml b/tools/recovery_l10n/res/values-fr/strings.xml index d5559d5ca..f0472b5ac 100644 --- a/tools/recovery_l10n/res/values-fr/strings.xml +++ b/tools/recovery_l10n/res/values-fr/strings.xml @@ -1,9 +1,9 @@ - "Installation de la mise à jour du système en cours…" - "Effacement en cours…" - "Aucune commande." + "Installation de la mise à jour du système…" + "Suppression…" + "Aucune commande" "Erreur !" - "Installation de la mise à jour de sécurité…" + "Installation de la mise à jour de sécurité…" diff --git a/tools/recovery_l10n/res/values-gl-rES/strings.xml b/tools/recovery_l10n/res/values-gl-rES/strings.xml index 9ce75a459..42b2016c2 100644 --- a/tools/recovery_l10n/res/values-gl-rES/strings.xml +++ b/tools/recovery_l10n/res/values-gl-rES/strings.xml @@ -1,9 +1,9 @@ - "Instalando actualización do sistema..." - "Borrando..." - "Ningún comando" + "Instalando actualización do sistema" + "Borrando" + "Non hai ningún comando" "Erro" - "Instalando actualización de seguranza…" + "Instalando actualización de seguranza" diff --git a/tools/recovery_l10n/res/values-gu-rIN/strings.xml b/tools/recovery_l10n/res/values-gu-rIN/strings.xml index 369cbdad0..2355a0f4f 100644 --- a/tools/recovery_l10n/res/values-gu-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-gu-rIN/strings.xml @@ -1,9 +1,9 @@ - "સિસ્ટમ અપડેટ ઇન્સ્ટોલ કરી રહ્યાં છે…" - "કાઢી નાખી રહ્યાં છે…" - "કોઈ આદેશ નથી." + "સિસ્ટમ અપડેટ ઇન્સ્ટૉલ કરી રહ્યાં છે" + "કાઢી નાખી રહ્યું છે" + "કોઈ આદેશ નથી" "ભૂલ!" - "સુરક્ષા અપડેટ ઇન્સ્ટૉલ કરી રહ્યાં છે…" + "સુરક્ષા અપડેટ ઇન્સ્ટૉલ કરી રહ્યાં છે" diff --git a/tools/recovery_l10n/res/values-hi/strings.xml b/tools/recovery_l10n/res/values-hi/strings.xml index ff834446b..de8757848 100644 --- a/tools/recovery_l10n/res/values-hi/strings.xml +++ b/tools/recovery_l10n/res/values-hi/strings.xml @@ -1,9 +1,9 @@ - "सिस्टम अपडेट इंस्टॉल किया जा रहा है…" - "मिटा रहा है…" - "कोई आदेश नहीं." + "सिस्टम अपडेट इंस्टॉल किया जा रहा है" + "मिटाया जा रहा है" + "कोई आदेश नहीं" "त्रुटि!" - "सुरक्षा अपडेट इंस्टॉल किया जा रहा है…" + "सुरक्षा अपडेट इंस्टॉल किया जा रहा है" diff --git a/tools/recovery_l10n/res/values-hr/strings.xml b/tools/recovery_l10n/res/values-hr/strings.xml index bb3b6ff4e..3b75ff115 100644 --- a/tools/recovery_l10n/res/values-hr/strings.xml +++ b/tools/recovery_l10n/res/values-hr/strings.xml @@ -1,9 +1,9 @@ - "Instaliranje ažuriranja sustava…" - "Brisanje…" - "Nema naredbe." + "Instaliranje ažuriranja sustava" + "Brisanje" + "Nema naredbe" "Pogreška!" - "Instaliranje sigurnosnog ažuriranja…" + "Instaliranje sigurnosnog ažuriranja" diff --git a/tools/recovery_l10n/res/values-hu/strings.xml b/tools/recovery_l10n/res/values-hu/strings.xml index 530b31662..12d4d9fe7 100644 --- a/tools/recovery_l10n/res/values-hu/strings.xml +++ b/tools/recovery_l10n/res/values-hu/strings.xml @@ -1,9 +1,9 @@ - "Rendszerfrissítés telepítése..." - "Törlés..." - "Nincs parancs." + "Rendszerfrissítés telepítése" + "Törlés" + "Nincs parancs" "Hiba!" - "Biztonsági frissítés telepítése…" + "Biztonsági frissítés telepítése" diff --git a/tools/recovery_l10n/res/values-hy-rAM/strings.xml b/tools/recovery_l10n/res/values-hy-rAM/strings.xml index 61c656763..9d62bb763 100644 --- a/tools/recovery_l10n/res/values-hy-rAM/strings.xml +++ b/tools/recovery_l10n/res/values-hy-rAM/strings.xml @@ -1,9 +1,9 @@ - "Համակարգի թարմացման տեղադրում…" - "Ջնջում…" - "Հրամանը տրված չէ:" + "Համակարգի թարմացման տեղադրում" + "Ջնջում" + "Հրամանը տրված չէ" "Սխալ" - "Անվտանգության թարմացումը տեղադրվում է…" + "Անվտանգության թարմացման տեղադրում" diff --git a/tools/recovery_l10n/res/values-in/strings.xml b/tools/recovery_l10n/res/values-in/strings.xml index 0bc8179f1..0e56e0dd9 100644 --- a/tools/recovery_l10n/res/values-in/strings.xml +++ b/tools/recovery_l10n/res/values-in/strings.xml @@ -1,9 +1,9 @@ - "Memasang pemutakhiran sistem…" - "Menghapus..." - "Tidak ada perintah." + "Memasang pembaruan sistem" + "Menghapus" + "Tidak ada perintah" "Error!" - "Memasang pembaruan keamanan..." + "Memasang pembaruan keamanan" diff --git a/tools/recovery_l10n/res/values-is-rIS/strings.xml b/tools/recovery_l10n/res/values-is-rIS/strings.xml index 9f9f461cf..5065b6522 100644 --- a/tools/recovery_l10n/res/values-is-rIS/strings.xml +++ b/tools/recovery_l10n/res/values-is-rIS/strings.xml @@ -1,9 +1,9 @@ - "Setur upp kerfisuppfærslu…" - "Þurrkar út…" - "Engin skipun." + "Setur upp kerfisuppfærslu" + "Eyðir" + "Engin skipun" "Villa!" - "Setur upp öryggisuppfærslu..." + "Setur upp öryggisuppfærslu" diff --git a/tools/recovery_l10n/res/values-it/strings.xml b/tools/recovery_l10n/res/values-it/strings.xml index 2a24195c5..2c0364e60 100644 --- a/tools/recovery_l10n/res/values-it/strings.xml +++ b/tools/recovery_l10n/res/values-it/strings.xml @@ -1,9 +1,9 @@ - "Installazione aggiornamento di sistema…" - "Cancellazione…" - "Nessun comando." + "Installazione aggiornamento di sistema…" + "Cancellazione…" + "Nessun comando" "Errore!" - "Installazione dell\'aggiornamento della sicurezza…" + "Installazione aggiornamento sicurezza…" diff --git a/tools/recovery_l10n/res/values-iw/strings.xml b/tools/recovery_l10n/res/values-iw/strings.xml index f77639d96..ea5e6f2c9 100644 --- a/tools/recovery_l10n/res/values-iw/strings.xml +++ b/tools/recovery_l10n/res/values-iw/strings.xml @@ -1,9 +1,9 @@ - "מתקין עדכון מערכת…" - "מוחק…" - "אין פקודה." + "מתקין עדכון מערכת" + "מוחק" + "אין פקודה" "שגיאה!" - "מתקין עדכון אבטחה…" + "מתקין עדכון אבטחה" diff --git a/tools/recovery_l10n/res/values-ja/strings.xml b/tools/recovery_l10n/res/values-ja/strings.xml index a85ffb92a..36e029b0f 100644 --- a/tools/recovery_l10n/res/values-ja/strings.xml +++ b/tools/recovery_l10n/res/values-ja/strings.xml @@ -1,9 +1,9 @@ - "システム アップデートをインストールしています…" - "消去しています…" - "コマンドが指定されていません。" + "システム アップデートをインストールしています" + "消去しています" + "コマンドが指定されていません" "エラーが発生しました。" - "セキュリティ アップデートをインストールしています…" + "セキュリティ アップデートをインストールしています" diff --git a/tools/recovery_l10n/res/values-ka-rGE/strings.xml b/tools/recovery_l10n/res/values-ka-rGE/strings.xml index 556e8131f..6a46b3677 100644 --- a/tools/recovery_l10n/res/values-ka-rGE/strings.xml +++ b/tools/recovery_l10n/res/values-ka-rGE/strings.xml @@ -1,9 +1,9 @@ - "მიმდინარეობს სისტემის განახლების ინსტალაცია…" - "მიმდინარეობს ამოშლა…" - "ბრძანება არ არის." + "მიმდინარეობს სისტემის განახლების ინსტალაცია" + "მიმდინარეობს ამოშლა" + "ბრძანება არ არის" "წარმოიქმნა შეცდომა!" - "მიმდინარეობს უსაფრთხოების განახლების ინსტალაცია…" + "მიმდინარეობს უსაფრთხოების განახლების ინსტალაცია" diff --git a/tools/recovery_l10n/res/values-kk-rKZ/strings.xml b/tools/recovery_l10n/res/values-kk-rKZ/strings.xml index f347315cf..a4bd86e66 100644 --- a/tools/recovery_l10n/res/values-kk-rKZ/strings.xml +++ b/tools/recovery_l10n/res/values-kk-rKZ/strings.xml @@ -1,9 +1,9 @@ - "Жүйе жаңартуларын орнатуда…" - "Өшіруде..." - "Пәрмен берілген жоқ." + "Жүйе жаңартуы орнатылуда" + "Өшірілуде" + "Пәрмен жоқ" "Қате!" - "Қауіпсіздік жаңартуы орнатылуда…" + "Қауіпсіздік жаңартуы орнатылуда" diff --git a/tools/recovery_l10n/res/values-km-rKH/strings.xml b/tools/recovery_l10n/res/values-km-rKH/strings.xml index 46716822c..313c0f457 100644 --- a/tools/recovery_l10n/res/values-km-rKH/strings.xml +++ b/tools/recovery_l10n/res/values-km-rKH/strings.xml @@ -1,9 +1,9 @@ - "កំពុង​ដំឡើង​បច្ចុប្បន្នភាព​ប្រព័ន្ធ…" - "កំពុង​លុប…" - "គ្មាន​ពាក្យ​បញ្ជា។" + "កំពុងអាប់ដេតប្រព័ន្ធ" + "លុប" + "គ្មានពាក្យបញ្ជាទេ" "កំហុស!" - "កំពុងដំឡើងការអាប់ដេតសុវត្ថិភាព…" + "កំពុងដំឡើងការអាប់ដេតសុវត្ថិភាព" diff --git a/tools/recovery_l10n/res/values-kn-rIN/strings.xml b/tools/recovery_l10n/res/values-kn-rIN/strings.xml index c5eaef86f..5bf6260ee 100644 --- a/tools/recovery_l10n/res/values-kn-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-kn-rIN/strings.xml @@ -1,9 +1,9 @@ - "ಸಿಸ್ಟಂ ನವೀಕರಣವನ್ನು ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ…" - "ಅಳಿಸಲಾಗುತ್ತಿದೆ…" - "ಯಾವುದೇ ಆದೇಶವಿಲ್ಲ." + "ಸಿಸ್ಟಂ ಅಪ್‌ಡೇಟ್‌ ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ" + "ಅಳಿಸಲಾಗುತ್ತಿದೆ" + "ಯಾವುದೇ ಆದೇಶವಿಲ್ಲ" "ದೋಷ!" - "ಭದ್ರತೆ ಅಪ್‌ಡೇಟ್‌ ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ…" + "ಭದ್ರತೆಯ ಅಪ್‌ಡೇಟ್‌ ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ" diff --git a/tools/recovery_l10n/res/values-ko/strings.xml b/tools/recovery_l10n/res/values-ko/strings.xml index 85026f804..aca13bbe7 100644 --- a/tools/recovery_l10n/res/values-ko/strings.xml +++ b/tools/recovery_l10n/res/values-ko/strings.xml @@ -1,9 +1,9 @@ - "시스템 업데이트 설치 중…" - "지우는 중…" - "명령어가 없습니다." + "시스템 업데이트 설치" + "지우는 중" + "명령어 없음" "오류!" - "보안 업데이트 설치 중…" + "보안 업데이트 설치 중" diff --git a/tools/recovery_l10n/res/values-ky-rKG/strings.xml b/tools/recovery_l10n/res/values-ky-rKG/strings.xml index 3d9a1c68f..0a6bd783a 100644 --- a/tools/recovery_l10n/res/values-ky-rKG/strings.xml +++ b/tools/recovery_l10n/res/values-ky-rKG/strings.xml @@ -1,9 +1,9 @@ - "Тутум жаңыртуусу орнотулууда…" - "Тазаланууда…" - "Буйрук берилген жок." + "Тутум жаңыртуусу орнотулууда" + "Тазаланууда" + "Буйрук берилген жок" "Ката!" - "Коопсуздук жаңыртуусу орнотулууда…" + "Коопсуздук жаңыртуусу орнотулууда" diff --git a/tools/recovery_l10n/res/values-lo-rLA/strings.xml b/tools/recovery_l10n/res/values-lo-rLA/strings.xml index 6a3b65e04..d3dbb3970 100644 --- a/tools/recovery_l10n/res/values-lo-rLA/strings.xml +++ b/tools/recovery_l10n/res/values-lo-rLA/strings.xml @@ -1,9 +1,9 @@ - "ກຳລັງຕິດຕັ້ງການອັບເດດລະບົບ..." - "ກຳລັງລຶບ..." - "ບໍ່ມີຄຳສັ່ງ." + "ກຳລັງຕິດຕັ້ງການອັບເດດລະບົບ" + "ກຳລັງລຶບ" + "ບໍ່ມີຄຳສັ່ງ" "ຜິດພາດ!" - "ກຳລັງຕິດຕັ້ງອັບເດດຄວາມປອດໄພ…" + "ກຳລັງຕິດຕັ້ງອັບເດດຄວາມປອດໄພ" diff --git a/tools/recovery_l10n/res/values-lt/strings.xml b/tools/recovery_l10n/res/values-lt/strings.xml index ef64e403d..d5d5e88fd 100644 --- a/tools/recovery_l10n/res/values-lt/strings.xml +++ b/tools/recovery_l10n/res/values-lt/strings.xml @@ -1,9 +1,9 @@ - "Diegiamas sistemos naujinys…" - "Ištrinama…" - "Nėra komandos." + "Diegiamas sistemos naujinys" + "Ištrinama" + "Nėra jokių komandų" "Klaida!" - "Diegiamas saugos naujinys…" + "Diegiamas saugos naujinys" diff --git a/tools/recovery_l10n/res/values-lv/strings.xml b/tools/recovery_l10n/res/values-lv/strings.xml index 3ec22cea4..d877f6a61 100644 --- a/tools/recovery_l10n/res/values-lv/strings.xml +++ b/tools/recovery_l10n/res/values-lv/strings.xml @@ -1,9 +1,9 @@ - "Notiek sistēmas atjauninājuma instalēšana..." - "Notiek dzēšana..." - "Nav nevienas komandas." + "Notiek sistēmas atjauninājuma instalēšana" + "Notiek dzēšana" + "Nav nevienas komandas" "Kļūda!" - "Notiek drošības atjauninājuma instalēšana…" + "Notiek drošības atjauninājuma instalēšana" diff --git a/tools/recovery_l10n/res/values-mk-rMK/strings.xml b/tools/recovery_l10n/res/values-mk-rMK/strings.xml index 5cf60088e..351459730 100644 --- a/tools/recovery_l10n/res/values-mk-rMK/strings.xml +++ b/tools/recovery_l10n/res/values-mk-rMK/strings.xml @@ -1,9 +1,9 @@ - "Се инсталира ажурирање на системот..." - "Се брише..." - "Нема наредба." + "Се инсталира ажурирање на системот" + "Се брише" + "Нема наредба" "Грешка!" - "Се инсталира безбедносно ажурирање…" + "Се инсталира безбедносно ажурирање" diff --git a/tools/recovery_l10n/res/values-ml-rIN/strings.xml b/tools/recovery_l10n/res/values-ml-rIN/strings.xml index 4048374b4..b506e2530 100644 --- a/tools/recovery_l10n/res/values-ml-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-ml-rIN/strings.xml @@ -1,9 +1,9 @@ - "സിസ്റ്റം അപ്‌ഡേറ്റ് ഇൻസ്റ്റാളുചെയ്യുന്നു…" - "മായ്‌ക്കുന്നു…" - "കമാൻഡ് ഒന്നുമില്ല." + "സിസ്റ്റം അപ്‌ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യുന്നു" + "മായ്‌ക്കുന്നു" + "കമാൻഡ് ഒന്നുമില്ല" "പിശക്!" - "സുരക്ഷാ അപ്ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യുന്നു…" + "സുരക്ഷാ അപ്ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യുന്നു" diff --git a/tools/recovery_l10n/res/values-mn-rMN/strings.xml b/tools/recovery_l10n/res/values-mn-rMN/strings.xml index 70508d5fa..e3dd2e90e 100644 --- a/tools/recovery_l10n/res/values-mn-rMN/strings.xml +++ b/tools/recovery_l10n/res/values-mn-rMN/strings.xml @@ -1,9 +1,9 @@ - "Системийн шинэчлэлтийг суулгаж байна…" - "Арилгаж байна…" - "Команд байхгүй." + "Системийн шинэчлэлтийг суулгаж байна" + "Устгаж байна" + "Тушаал байхгүй" "Алдаа!" - "Аюулгүй байдлын шинэчлэлтийг суулгаж байна..." + "Аюулгүй байдлын шинэчлэлтийг суулгаж байна" diff --git a/tools/recovery_l10n/res/values-mr-rIN/strings.xml b/tools/recovery_l10n/res/values-mr-rIN/strings.xml index a052a8fe3..8cf86f773 100644 --- a/tools/recovery_l10n/res/values-mr-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-mr-rIN/strings.xml @@ -1,9 +1,9 @@ - "सिस्टम अद्यतन स्थापित करीत आहे..." - "मिटवित आहे…" - "कोणताही आदेश नाही." + "सिस्टम अद्यतन स्थापित करीत आहे" + "मिटवत आहे" + "कोणताही आदेश नाही" "त्रुटी!" - "सुरक्षा अद्यतन स्थापित करीत आहे..." + "सुरक्षा अद्यतन स्थापित करीत आहे" diff --git a/tools/recovery_l10n/res/values-ms-rMY/strings.xml b/tools/recovery_l10n/res/values-ms-rMY/strings.xml index 22b5b16d8..0e24ac4e1 100644 --- a/tools/recovery_l10n/res/values-ms-rMY/strings.xml +++ b/tools/recovery_l10n/res/values-ms-rMY/strings.xml @@ -1,9 +1,9 @@ - "Memasang kemas kini sistem..." - "Memadam..." - "Tiada arahan." + "Memasang kemas kini sistem" + "Memadam" + "Tiada perintah" "Ralat!" - "Memasang kemas kini keselamatan…" + "Memasang kemas kini keselamatan" diff --git a/tools/recovery_l10n/res/values-my-rMM/strings.xml b/tools/recovery_l10n/res/values-my-rMM/strings.xml index c63084e03..f13752461 100644 --- a/tools/recovery_l10n/res/values-my-rMM/strings.xml +++ b/tools/recovery_l10n/res/values-my-rMM/strings.xml @@ -1,9 +1,9 @@ - "စနစ်အား အဆင့်မြှင့်ခြင်း လုပ်ဆောင်နေသည်…" - "ဖျက်နေသည် ..." - "ညွှန်ကြားချက်မပေးထားပါ" + "စနစ်အပ်ဒိတ်ကို ထည့်သွင်းနေသည်" + "ဖျက်နေသည်" + "ညွှန်ကြားချက်မပေးထားပါ" "မှားနေပါသည်!" - "လုံခြုံရေးအပ်ဒိတ် ထည့်သွင်းနေသည်…" + "လုံခြုံရေး အပ်ဒိတ်ကို ထည့်သွင်းနေသည်" diff --git a/tools/recovery_l10n/res/values-nb/strings.xml b/tools/recovery_l10n/res/values-nb/strings.xml index 04a278cac..ad6f20e46 100644 --- a/tools/recovery_l10n/res/values-nb/strings.xml +++ b/tools/recovery_l10n/res/values-nb/strings.xml @@ -1,9 +1,9 @@ - "Installerer systemoppdateringen …" - "Sletter …" - "Ingen kommando." + "Installerer systemoppdateringen" + "Tømmer" + "Ingen kommandoer" "Feil!" - "Installerer sikkerhetsoppdateringen …" + "Installerer sikkerhetsoppdateringen" diff --git a/tools/recovery_l10n/res/values-ne-rNP/strings.xml b/tools/recovery_l10n/res/values-ne-rNP/strings.xml index 96ed544c6..1880e807b 100644 --- a/tools/recovery_l10n/res/values-ne-rNP/strings.xml +++ b/tools/recovery_l10n/res/values-ne-rNP/strings.xml @@ -1,9 +1,9 @@ - "प्रणाली सम्बन्धी अद्यावधिकलाई स्थापना गर्दै..." - "मेटाउँदै…" - "कुनै आदेश छैन।" + "प्रणालीको अद्यावधिकलाई स्थापना गर्दै" + "मेटाउँदै" + "कुनै आदेश छैन" "त्रुटि!" - "सुरक्षा सम्बन्धी अद्यावधिकलाई स्थापना गर्दै..." + "सुरक्षा सम्बन्धी अद्यावधिकलाई स्थापना गर्दै" diff --git a/tools/recovery_l10n/res/values-nl/strings.xml b/tools/recovery_l10n/res/values-nl/strings.xml index 8f75030f8..0d6c15abb 100644 --- a/tools/recovery_l10n/res/values-nl/strings.xml +++ b/tools/recovery_l10n/res/values-nl/strings.xml @@ -1,9 +1,9 @@ - "Systeemupdate installeren…" - "Wissen…" - "Geen opdracht." + "Systeemupdate installeren" + "Wissen" + "Geen opdracht" "Fout!" - "Beveiligingsupdate installeren…" + "Beveiligingsupdate installeren" diff --git a/tools/recovery_l10n/res/values-pa-rIN/strings.xml b/tools/recovery_l10n/res/values-pa-rIN/strings.xml index c4c41481e..8564c9c36 100644 --- a/tools/recovery_l10n/res/values-pa-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-pa-rIN/strings.xml @@ -1,9 +1,9 @@ - "ਸਿਸਟਮ ਅਪਡੇਟ ਇੰਸਟੌਲ ਕਰ ਰਿਹਾ ਹੈ…" - "ਹਟਾ ਰਿਹਾ ਹੈ…" - "ਕੋਈ ਕਮਾਂਡ ਨਹੀਂ।" + "ਸਿਸਟਮ ਅੱਪਡੇਟ ਸਥਾਪਤ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ" + "ਮਿਟਾਈ ਜਾ ਰਹੀ ਹੈ" + "ਕੋਈ ਕਮਾਂਡ ਨਹੀਂ" "ਅਸ਼ੁੱਧੀ!" - "ਸੁਰੱਖਿਆ ਅੱਪਡੇਟ ਸਥਾਪਤ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ…" + "ਸੁਰੱਖਿਆ ਅੱਪਡੇਟ ਸਥਾਪਤ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ" diff --git a/tools/recovery_l10n/res/values-pl/strings.xml b/tools/recovery_l10n/res/values-pl/strings.xml index e37b6b02d..8d6db388d 100644 --- a/tools/recovery_l10n/res/values-pl/strings.xml +++ b/tools/recovery_l10n/res/values-pl/strings.xml @@ -1,9 +1,9 @@ - "Instaluję aktualizację systemu…" - "Usuwam…" - "Brak polecenia." + "Instaluję aktualizację systemu" + "Kasuję" + "Brak polecenia" "Błąd" - "Instaluję aktualizację zabezpieczeń…" + "Instaluję aktualizację zabezpieczeń" diff --git a/tools/recovery_l10n/res/values-pt-rBR/strings.xml b/tools/recovery_l10n/res/values-pt-rBR/strings.xml index bd2bfb9d6..b72704385 100644 --- a/tools/recovery_l10n/res/values-pt-rBR/strings.xml +++ b/tools/recovery_l10n/res/values-pt-rBR/strings.xml @@ -1,9 +1,9 @@ - "Instalando atualização do sistema..." - "Apagando..." - "Nenhum comando." + "Instalando atualização do sistema" + "Apagando" + "Nenhum comando" "Erro!" - "Instalando atualização de segurança…" + "Instalando atualização de segurança" diff --git a/tools/recovery_l10n/res/values-pt-rPT/strings.xml b/tools/recovery_l10n/res/values-pt-rPT/strings.xml index 8379fe9aa..981463739 100644 --- a/tools/recovery_l10n/res/values-pt-rPT/strings.xml +++ b/tools/recovery_l10n/res/values-pt-rPT/strings.xml @@ -1,9 +1,9 @@ - "A instalar a atualização do sistema..." - "A apagar…" - "Nenhum comando." + "A instalar atualização do sistema" + "A apagar" + "Nenhum comando" "Erro!" - "A instalar atualização de segurança…" + "A instalar atualização de segurança" diff --git a/tools/recovery_l10n/res/values-pt/strings.xml b/tools/recovery_l10n/res/values-pt/strings.xml index bd2bfb9d6..b72704385 100644 --- a/tools/recovery_l10n/res/values-pt/strings.xml +++ b/tools/recovery_l10n/res/values-pt/strings.xml @@ -1,9 +1,9 @@ - "Instalando atualização do sistema..." - "Apagando..." - "Nenhum comando." + "Instalando atualização do sistema" + "Apagando" + "Nenhum comando" "Erro!" - "Instalando atualização de segurança…" + "Instalando atualização de segurança" diff --git a/tools/recovery_l10n/res/values-ro/strings.xml b/tools/recovery_l10n/res/values-ro/strings.xml index 283fffc19..8032865b8 100644 --- a/tools/recovery_l10n/res/values-ro/strings.xml +++ b/tools/recovery_l10n/res/values-ro/strings.xml @@ -1,9 +1,9 @@ - "Se instalează actualizarea de sistem…" - "Se efectuează ștergerea…" - "Nicio comandă." + "Se instalează actualizarea de sistem" + "Se șterge" + "Nicio comandă" "Eroare!" - "Se instalează actualizarea de securitate…" + "Se instalează actualizarea de securitate" diff --git a/tools/recovery_l10n/res/values-ru/strings.xml b/tools/recovery_l10n/res/values-ru/strings.xml index 83ba34615..feebecf31 100644 --- a/tools/recovery_l10n/res/values-ru/strings.xml +++ b/tools/recovery_l10n/res/values-ru/strings.xml @@ -1,9 +1,9 @@ - "Установка обновления системы…" - "Удаление…" - "Команды нет" + "Установка обновления системы…" + "Удаление…" + "Команды нет" "Ошибка" - "Установка обновления системы безопасности…" + "Установка обновления системы безопасности…" diff --git a/tools/recovery_l10n/res/values-si-rLK/strings.xml b/tools/recovery_l10n/res/values-si-rLK/strings.xml index 51643af53..456cdc567 100644 --- a/tools/recovery_l10n/res/values-si-rLK/strings.xml +++ b/tools/recovery_l10n/res/values-si-rLK/strings.xml @@ -1,9 +1,9 @@ - "පද්ධති යාවත්කාල ස්ථාපනය කරමින්…" - "මකමින්...." - "විධානයක් නොමැත." + "පද්ධති යාවත්කාලීනය ස්ථාපනය කරමින්" + "මකමින්" + "විධානයක් නොමැත" "දෝෂය!" - "ආරක්ෂක යාවත්කාලීනය ස්ථාපනය කරමින්..." + "ආරක්ෂක යාවත්කාලීනය ස්ථාපනය කරමින්" diff --git a/tools/recovery_l10n/res/values-sk/strings.xml b/tools/recovery_l10n/res/values-sk/strings.xml index ba1d9a704..b15f3802b 100644 --- a/tools/recovery_l10n/res/values-sk/strings.xml +++ b/tools/recovery_l10n/res/values-sk/strings.xml @@ -1,9 +1,9 @@ - "Inštalácia aktualizácie systému..." - "Prebieha mazanie..." - "Žiadny príkaz." + "Inštaluje sa aktualizácia systému" + "Prebieha vymazávanie" + "Žiadny príkaz" "Chyba!" - "Inštaluje sa bezpečnostná aktualizácia…" + "Inštaluje sa bezpečnostná aktualizácia" diff --git a/tools/recovery_l10n/res/values-sl/strings.xml b/tools/recovery_l10n/res/values-sl/strings.xml index 0e031def8..d608b7506 100644 --- a/tools/recovery_l10n/res/values-sl/strings.xml +++ b/tools/recovery_l10n/res/values-sl/strings.xml @@ -1,9 +1,9 @@ - "Namestitev posodobitve sistema ..." - "Brisanje ..." - "Ni ukaza" + "Nameščanje posodobitve sistema" + "Brisanje" + "Ni ukaza" "Napaka" - "Nameščanje varnostne posodobitve …" + "Nameščanje varnostne posodobitve" diff --git a/tools/recovery_l10n/res/values-sq-rAL/strings.xml b/tools/recovery_l10n/res/values-sq-rAL/strings.xml index 37b09e706..1156931fb 100644 --- a/tools/recovery_l10n/res/values-sq-rAL/strings.xml +++ b/tools/recovery_l10n/res/values-sq-rAL/strings.xml @@ -1,9 +1,9 @@ - "Po instalon përditësimin e sistemit..." - "Po spastron..." - "Nuk ka komanda." + "Po instalon përditësimin e sistemit" + "Po spastron" + "Nuk ka komanda" "Gabim!" - "Po instalon përditësimin e sigurisë..." + "Po instalon përditësimin e sigurisë" diff --git a/tools/recovery_l10n/res/values-sr/strings.xml b/tools/recovery_l10n/res/values-sr/strings.xml index 00595d74d..a593d8faa 100644 --- a/tools/recovery_l10n/res/values-sr/strings.xml +++ b/tools/recovery_l10n/res/values-sr/strings.xml @@ -1,9 +1,9 @@ - "Инсталирање ажурирања система..." - "Брисање..." - "Нема команде." + "Ажурирање система се инсталира" + "Брише се" + "Нема команде" "Грешка!" - "Инсталира се безбедносно ажурирање…" + "Инсталира се безбедносно ажурирање" diff --git a/tools/recovery_l10n/res/values-sv/strings.xml b/tools/recovery_l10n/res/values-sv/strings.xml index d2655056a..b33ce253f 100644 --- a/tools/recovery_l10n/res/values-sv/strings.xml +++ b/tools/recovery_l10n/res/values-sv/strings.xml @@ -1,9 +1,9 @@ - "Installerar systemuppdatering ..." - "Tar bort ..." - "Inget kommando." + "Systemuppdatering installeras" + "Rensar" + "Inget kommando" "Fel!" - "Säkerhetsuppdatering installeras …" + "Säkerhetsuppdatering installeras" diff --git a/tools/recovery_l10n/res/values-sw/strings.xml b/tools/recovery_l10n/res/values-sw/strings.xml index 2fdab151f..156765881 100644 --- a/tools/recovery_l10n/res/values-sw/strings.xml +++ b/tools/recovery_l10n/res/values-sw/strings.xml @@ -1,9 +1,9 @@ - "Inasakinisha sasisho la mfumo…" - "Inafuta…" - "Hakuna amri." + "Inasakinisha sasisho la mfumo" + "Inafuta" + "Hakuna amri" "Hitilafu fulani imetokea!" - "Inasakinisha sasisho la usalama..." + "Inasakinisha sasisho la usalama" diff --git a/tools/recovery_l10n/res/values-ta-rIN/strings.xml b/tools/recovery_l10n/res/values-ta-rIN/strings.xml index 2b278e370..d49186d8d 100644 --- a/tools/recovery_l10n/res/values-ta-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-ta-rIN/strings.xml @@ -1,9 +1,9 @@ - "முறைமைப் புதுப்பிப்பை நிறுவுகிறது…" - "அழிக்கிறது…" - "கட்டளை இல்லை." + "முறைமைப் புதுப்பிப்பை நிறுவுகிறது" + "அழிக்கிறது" + "கட்டளை இல்லை" "பிழை!" - "பாதுகாப்புப் புதுப்பிப்பை நிறுவுகிறது…" + "பாதுகாப்புப் புதுப்பிப்பை நிறுவுகிறது" diff --git a/tools/recovery_l10n/res/values-te-rIN/strings.xml b/tools/recovery_l10n/res/values-te-rIN/strings.xml index ee5435dd5..cfb02c915 100644 --- a/tools/recovery_l10n/res/values-te-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-te-rIN/strings.xml @@ -1,9 +1,9 @@ - "సిస్టమ్ నవీకరణను ఇన్‍స్టాల్ చేస్తోంది…" - "డేటాను తొలగిస్తోంది…" - "ఆదేశం లేదు." + "సిస్టమ్ నవీకరణను ఇన్‍స్టాల్ చేస్తోంది" + "డేటాను తొలగిస్తోంది" + "ఆదేశం లేదు" "లోపం సంభవించింది!" - "భద్రతా నవీకరణను ఇన్‌స్టాల్ చేస్తోంది…" + "భద్రతా నవీకరణను ఇన్‌స్టాల్ చేస్తోంది" diff --git a/tools/recovery_l10n/res/values-th/strings.xml b/tools/recovery_l10n/res/values-th/strings.xml index fbd16d7b6..155affea0 100644 --- a/tools/recovery_l10n/res/values-th/strings.xml +++ b/tools/recovery_l10n/res/values-th/strings.xml @@ -1,9 +1,9 @@ - "กำลังติดตั้งการอัปเดตระบบ…" - "กำลังลบ…" - "ไม่มีคำสั่ง" + "กำลังติดตั้งการอัปเดตระบบ" + "กำลังลบ" + "ไม่มีคำสั่ง" "ข้อผิดพลาด!" - "กำลังติดตั้งการอัปเดตความปลอดภัย…" + "กำลังติดตั้งการอัปเดตความปลอดภัย" diff --git a/tools/recovery_l10n/res/values-tl/strings.xml b/tools/recovery_l10n/res/values-tl/strings.xml index bc3efdb2c..555b42b8d 100644 --- a/tools/recovery_l10n/res/values-tl/strings.xml +++ b/tools/recovery_l10n/res/values-tl/strings.xml @@ -1,9 +1,9 @@ - "Ini-install ang update sa system…" - "Binubura…" - "Walang command." + "Nag-i-install ng pag-update ng system" + "Binubura" + "Walang command" "Error!" - "Ini-install ang update sa seguridad…" + "Nag-i-install ng update sa seguridad" diff --git a/tools/recovery_l10n/res/values-tr/strings.xml b/tools/recovery_l10n/res/values-tr/strings.xml index efa950319..5387cb2ae 100644 --- a/tools/recovery_l10n/res/values-tr/strings.xml +++ b/tools/recovery_l10n/res/values-tr/strings.xml @@ -1,9 +1,9 @@ - "Sistem güncellemesi yükleniyor…" - "Siliniyor…" - "Komut yok." + "Sistem güncellemesi yükleniyor" + "Siliniyor" + "Komut yok" "Hata!" - "Güvenlik güncellemesi yükleniyor…" + "Güvenlik güncellemesi yükleniyor" diff --git a/tools/recovery_l10n/res/values-uk/strings.xml b/tools/recovery_l10n/res/values-uk/strings.xml index e67eccf6f..0c2fa164a 100644 --- a/tools/recovery_l10n/res/values-uk/strings.xml +++ b/tools/recovery_l10n/res/values-uk/strings.xml @@ -1,9 +1,9 @@ - "Встановлення оновлення системи…" - "Стирання…" - "Немає команди." + "Установлюється оновлення системи" + "Стирання" + "Немає команди" "Помилка!" - "Установлюється оновлення системи безпеки…" + "Установлюється оновлення системи безпеки" diff --git a/tools/recovery_l10n/res/values-ur-rPK/strings.xml b/tools/recovery_l10n/res/values-ur-rPK/strings.xml index b732bb913..12e32fbc1 100644 --- a/tools/recovery_l10n/res/values-ur-rPK/strings.xml +++ b/tools/recovery_l10n/res/values-ur-rPK/strings.xml @@ -1,9 +1,9 @@ - "سسٹم اپ ڈیٹ انسٹال ہو رہا ہے…" - "صاف کر رہا ہے…" - "کوئی کمانڈ نہیں ہے۔" + "سسٹم اپ ڈیٹ انسٹال ہو رہی ہے" + "صاف ہو رہا ہے" + "کوئی کمانڈ نہیں ہے" "خرابی!" - "سیکیورٹی اپ ڈیٹ انسٹال ہو رہی ہے…" + "سیکیورٹی اپ ڈیٹ انسٹال ہو رہی ہے" diff --git a/tools/recovery_l10n/res/values-uz-rUZ/strings.xml b/tools/recovery_l10n/res/values-uz-rUZ/strings.xml index 2353d475f..2c309d646 100644 --- a/tools/recovery_l10n/res/values-uz-rUZ/strings.xml +++ b/tools/recovery_l10n/res/values-uz-rUZ/strings.xml @@ -1,9 +1,9 @@ - "Tizim yangilanishi o‘rnatilmoqda…" - "Tozalanmoqda…" - "Buyruq yo‘q." + "Tizim yangilanishi o‘rnatilmoqda" + "Tozalanmoqda…" + "Buyruq yo‘q" "Xato!" - "Xavfsizlik yangilanishi o‘rnatilmoqda…" + "Xavfsizlik yangilanishi o‘rnatilmoqda" diff --git a/tools/recovery_l10n/res/values-vi/strings.xml b/tools/recovery_l10n/res/values-vi/strings.xml index c91e100fb..c77d0c8c2 100644 --- a/tools/recovery_l10n/res/values-vi/strings.xml +++ b/tools/recovery_l10n/res/values-vi/strings.xml @@ -1,9 +1,9 @@ - "Đang cài đặt bản cập nhật hệ thống…" - "Đang xóa…" - "Không có lệnh nào." + "Đang cài đặt bản cập nhật hệ thống" + "Đang xóa" + "Không có lệnh nào" "Lỗi!" - "Đang cài đặt bản cập nhật bảo mật..." + "Đang cài đặt bản cập nhật bảo mật" diff --git a/tools/recovery_l10n/res/values-zh-rCN/strings.xml b/tools/recovery_l10n/res/values-zh-rCN/strings.xml index a6bf54286..e06149791 100644 --- a/tools/recovery_l10n/res/values-zh-rCN/strings.xml +++ b/tools/recovery_l10n/res/values-zh-rCN/strings.xml @@ -1,9 +1,9 @@ - "正在安装系统更新…" - "正在清空…" - "无命令。" + "正在安装系统更新" + "正在清空" + "无命令" "出错了!" - "正在安装安全更新…" + "正在安装安全更新" diff --git a/tools/recovery_l10n/res/values-zh-rHK/strings.xml b/tools/recovery_l10n/res/values-zh-rHK/strings.xml index 1f0ce144b..ec3315d32 100644 --- a/tools/recovery_l10n/res/values-zh-rHK/strings.xml +++ b/tools/recovery_l10n/res/values-zh-rHK/strings.xml @@ -1,9 +1,9 @@ - "正在安裝系統更新…" - "正在清除…" - "沒有指令。" + "正在安裝系統更新" + "正在清除" + "沒有指令" "錯誤!" - "正在安裝安全性更新…" + "正在安裝安全性更新" diff --git a/tools/recovery_l10n/res/values-zh-rTW/strings.xml b/tools/recovery_l10n/res/values-zh-rTW/strings.xml index ab9641a5e..78eae2429 100644 --- a/tools/recovery_l10n/res/values-zh-rTW/strings.xml +++ b/tools/recovery_l10n/res/values-zh-rTW/strings.xml @@ -1,9 +1,9 @@ - "正在安裝系統更新…" - "清除中..." - "沒有指令。" + "正在安裝系統更新" + "清除中" + "沒有指令" "錯誤!" - "正在安裝安全性更新…" + "正在安裝安全性更新" diff --git a/tools/recovery_l10n/res/values-zu/strings.xml b/tools/recovery_l10n/res/values-zu/strings.xml index 6289aab34..6b815e1ab 100644 --- a/tools/recovery_l10n/res/values-zu/strings.xml +++ b/tools/recovery_l10n/res/values-zu/strings.xml @@ -1,9 +1,9 @@ - "Ifaka isibuyekezo sesistimu…" - "Iyasula…" - "Awukho umyalo." + "Ifaka isibuyekezo sesistimu" + "Iyasula" + "Awukho umyalo" "Iphutha!" - "Ifaka isibuyekezo sokuphepha…" + "Ifaka isibuyekezo sokuphepha" -- cgit v1.2.3 From a00435652a8f922cd09cef1ef38fa39c93c3f2c4 Mon Sep 17 00:00:00 2001 From: Bill Yi Date: Tue, 26 Apr 2016 15:06:53 -0700 Subject: Import translations. DO NOT MERGE Change-Id: Id48a7d573bdfd417975bb1054eb6a2453a151bf8 Auto-generated-cl: translation import --- tools/recovery_l10n/res/values-af/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-am/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ar/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-az-rAZ/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-bg/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-bn-rBD/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ca/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-cs/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-da/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-de/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-el/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-en-rAU/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-en-rGB/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-en-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-es-rUS/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-es/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-et-rEE/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-eu-rES/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fa/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fi/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fr-rCA/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-fr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-gl-rES/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-gu-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hi/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hu/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-hy-rAM/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-in/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-is-rIS/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-it/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-iw/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ja/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ka-rGE/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-kk-rKZ/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-km-rKH/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-kn-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ko/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ky-rKG/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-lo-rLA/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-lt/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-lv/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-mk-rMK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ml-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-mn-rMN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-mr-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ms-rMY/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-my-rMM/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-nb/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ne-rNP/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-nl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pa-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pt-rBR/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pt-rPT/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-pt/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ro/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ru/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-si-rLK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sk/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sq-rAL/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sv/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-sw/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ta-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-te-rIN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-th/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-tl/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-tr/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-uk/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-ur-rPK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-uz-rUZ/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-vi/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zh-rCN/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zh-rHK/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zh-rTW/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-zu/strings.xml | 8 ++++---- 78 files changed, 312 insertions(+), 312 deletions(-) diff --git a/tools/recovery_l10n/res/values-af/strings.xml b/tools/recovery_l10n/res/values-af/strings.xml index 60df0e212..b1974da20 100644 --- a/tools/recovery_l10n/res/values-af/strings.xml +++ b/tools/recovery_l10n/res/values-af/strings.xml @@ -1,9 +1,9 @@ - "Installeer tans stelselopdatering …" - "Vee tans uit …" - "Geen opdrag nie." + "Installeer tans stelselopdatering" + "Vee tans uit" + "Geen opdrag nie" "Fout!" - "Installeer tans sekuriteitopdatering …" + "Installeer tans sekuriteitopdatering" diff --git a/tools/recovery_l10n/res/values-am/strings.xml b/tools/recovery_l10n/res/values-am/strings.xml index 23aba9d0b..75c17fbad 100644 --- a/tools/recovery_l10n/res/values-am/strings.xml +++ b/tools/recovery_l10n/res/values-am/strings.xml @@ -1,9 +1,9 @@ - "የስርዓት ዝማኔ በመጫን ላይ…" - "በመደምሰስ ላይ…" - "ምንም ትዕዛዝ የለም።" + "የሥርዓት ዝማኔን በመጫን ላይ…" + "በመደምሰስ ላይ" + "ምንም ትዕዛዝ የለም" "ስህተት!" - "የደህንነት ዝማኔን በመጫን ላይ…" + "የደህንነት ዝማኔ በመጫን ላይ" diff --git a/tools/recovery_l10n/res/values-ar/strings.xml b/tools/recovery_l10n/res/values-ar/strings.xml index 594781082..601b5832b 100644 --- a/tools/recovery_l10n/res/values-ar/strings.xml +++ b/tools/recovery_l10n/res/values-ar/strings.xml @@ -1,9 +1,9 @@ - "جارٍ تثبيت تحديث النظام…" - "جارٍ المسح…" - "ليس هناك أي أمر." + "جارٍ تثبيت تحديث النظام" + "جارٍ محو البيانات" + "ليس هناك أي أمر" "خطأ!" - "جارٍ تثبيت تحديث الأمان…" + "جارٍ تثبيت تحديث الأمان" diff --git a/tools/recovery_l10n/res/values-az-rAZ/strings.xml b/tools/recovery_l10n/res/values-az-rAZ/strings.xml index 6dc965ae5..c6765a9ea 100644 --- a/tools/recovery_l10n/res/values-az-rAZ/strings.xml +++ b/tools/recovery_l10n/res/values-az-rAZ/strings.xml @@ -1,9 +1,9 @@ - "Sistem güncəlləməsi quraşdırılır..." - "Silinir..." - "Əmr yoxdur." + "Sistem güncəlləməsi quraşdırılır..." + "Silinir" + "Əmr yoxdur" "Xəta!" - "Təhlükəsizlik güncəlləməsi yüklənir…" + "Təhlükəsizlik güncəlləməsi yüklənir" diff --git a/tools/recovery_l10n/res/values-bg/strings.xml b/tools/recovery_l10n/res/values-bg/strings.xml index 6fca52b95..9e628a2af 100644 --- a/tools/recovery_l10n/res/values-bg/strings.xml +++ b/tools/recovery_l10n/res/values-bg/strings.xml @@ -1,9 +1,9 @@ - "Системната актуализация се инсталира…" - "Изтрива се…" - "Без команда." + "Системната актуализация се инсталира" + "Изтрива се" + "Без команда" "Грешка!" - "Инсталира се актуализация на сигурността…" + "Актуализацията на сигурносттa се инсталира" diff --git a/tools/recovery_l10n/res/values-bn-rBD/strings.xml b/tools/recovery_l10n/res/values-bn-rBD/strings.xml index 4f5d8d7d1..0a481faf1 100644 --- a/tools/recovery_l10n/res/values-bn-rBD/strings.xml +++ b/tools/recovery_l10n/res/values-bn-rBD/strings.xml @@ -1,9 +1,9 @@ - "সিস্টেম আপডেট ইনস্টল করা হচ্ছে…" - "মোছা হচ্ছে…" - "কোনো নির্দেশ নেই।" + "সিস্টেম আপডেট ইনস্টল করা হচ্ছে" + "মোছা হচ্ছে" + "কোনো আদেশ নেই" "ত্রুটি!" - "নিরাপত্তার আপডেট ইনস্টল করা হচ্ছে…" + "নিরাপত্তার আপডেট ইনস্টল করা হচ্ছে" diff --git a/tools/recovery_l10n/res/values-ca/strings.xml b/tools/recovery_l10n/res/values-ca/strings.xml index 05cc0e2e6..3f266d2df 100644 --- a/tools/recovery_l10n/res/values-ca/strings.xml +++ b/tools/recovery_l10n/res/values-ca/strings.xml @@ -1,9 +1,9 @@ - "S\'està instal·lant l\'actualització del sistema…" - "S\'està esborrant…" - "No hi ha cap ordre." + "S\'està instal·lant una actualització del sistema" + "S\'està esborrant" + "No hi ha cap ordre" "S\'ha produït un error" - "S\'està instal·lant l\'actualització de seguretat…" + "S\'està instal·lant una actualització de seguretat" diff --git a/tools/recovery_l10n/res/values-cs/strings.xml b/tools/recovery_l10n/res/values-cs/strings.xml index b7f4a2ced..eb436a810 100644 --- a/tools/recovery_l10n/res/values-cs/strings.xml +++ b/tools/recovery_l10n/res/values-cs/strings.xml @@ -1,9 +1,9 @@ - "Instalace aktualizace systému..." - "Mazání…" - "Žádný příkaz." + "Instalace aktualizace systému" + "Mazání" + "Žádný příkaz" "Chyba!" - "Instalace aktualizace zabezpečení…" + "Instalace aktualizace zabezpečení" diff --git a/tools/recovery_l10n/res/values-da/strings.xml b/tools/recovery_l10n/res/values-da/strings.xml index 225abbe5e..c6e64a245 100644 --- a/tools/recovery_l10n/res/values-da/strings.xml +++ b/tools/recovery_l10n/res/values-da/strings.xml @@ -1,9 +1,9 @@ - "Systemopdateringen installeres…" - "Sletter…" - "Ingen kommando." + "Installerer systemopdateringen" + "Sletter" + "Ingen kommando" "Fejl!" - "Installerer sikkerhedsopdatering..." + "Installerer sikkerhedsopdateringen" diff --git a/tools/recovery_l10n/res/values-de/strings.xml b/tools/recovery_l10n/res/values-de/strings.xml index d05967e7d..6b6726a23 100644 --- a/tools/recovery_l10n/res/values-de/strings.xml +++ b/tools/recovery_l10n/res/values-de/strings.xml @@ -1,9 +1,9 @@ - "Systemupdate wird installiert…" - "Wird gelöscht…" - "Kein Befehl" + "Systemupdate wird installiert" + "Wird gelöscht" + "Kein Befehl" "Fehler" - "Sicherheitsupdate wird installiert…" + "Sicherheitsupdate wird installiert" diff --git a/tools/recovery_l10n/res/values-el/strings.xml b/tools/recovery_l10n/res/values-el/strings.xml index 30936ec79..4cb2da5f9 100644 --- a/tools/recovery_l10n/res/values-el/strings.xml +++ b/tools/recovery_l10n/res/values-el/strings.xml @@ -1,9 +1,9 @@ - "Εγκατάσταση ενημέρωσης συστήματος…" - "Διαγραφή…" - "Καμία εντολή." + "Εγκατάσταση ενημέρωσης συστήματος" + "Διαγραφή" + "Καμία εντολή" "Σφάλμα!" - "Εγκατάσταση ενημέρωσης ασφαλείας…" + "Εγκατάσταση ενημέρωσης ασφαλείας" diff --git a/tools/recovery_l10n/res/values-en-rAU/strings.xml b/tools/recovery_l10n/res/values-en-rAU/strings.xml index f69a058a6..dc75c2374 100644 --- a/tools/recovery_l10n/res/values-en-rAU/strings.xml +++ b/tools/recovery_l10n/res/values-en-rAU/strings.xml @@ -1,9 +1,9 @@ - "Installing system update…" - "Erasing…" - "No command." + "Installing system update" + "Erasing" + "No command" "Error!" - "Installing security update…" + "Installing security update" diff --git a/tools/recovery_l10n/res/values-en-rGB/strings.xml b/tools/recovery_l10n/res/values-en-rGB/strings.xml index f69a058a6..dc75c2374 100644 --- a/tools/recovery_l10n/res/values-en-rGB/strings.xml +++ b/tools/recovery_l10n/res/values-en-rGB/strings.xml @@ -1,9 +1,9 @@ - "Installing system update…" - "Erasing…" - "No command." + "Installing system update" + "Erasing" + "No command" "Error!" - "Installing security update…" + "Installing security update" diff --git a/tools/recovery_l10n/res/values-en-rIN/strings.xml b/tools/recovery_l10n/res/values-en-rIN/strings.xml index f69a058a6..dc75c2374 100644 --- a/tools/recovery_l10n/res/values-en-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-en-rIN/strings.xml @@ -1,9 +1,9 @@ - "Installing system update…" - "Erasing…" - "No command." + "Installing system update" + "Erasing" + "No command" "Error!" - "Installing security update…" + "Installing security update" diff --git a/tools/recovery_l10n/res/values-es-rUS/strings.xml b/tools/recovery_l10n/res/values-es-rUS/strings.xml index 6c9c747d3..06b86069b 100644 --- a/tools/recovery_l10n/res/values-es-rUS/strings.xml +++ b/tools/recovery_l10n/res/values-es-rUS/strings.xml @@ -1,9 +1,9 @@ - "Instalando actualización del sistema…" - "Borrando…" - "Ningún comando" + "Instalando actualización del sistema" + "Borrando" + "Ningún comando" "Error" - "Instalando actualización de seguridad…" + "Instalando actualización de seguridad" diff --git a/tools/recovery_l10n/res/values-es/strings.xml b/tools/recovery_l10n/res/values-es/strings.xml index fc4eda96f..d8618f2f4 100644 --- a/tools/recovery_l10n/res/values-es/strings.xml +++ b/tools/recovery_l10n/res/values-es/strings.xml @@ -1,9 +1,9 @@ - "Instalando actualización del sistema…" - "Borrando…" - "Sin comandos." + "Instalando actualización del sistema" + "Borrando" + "Sin comandos" "Error" - "Instalando actualización de seguridad…" + "Instalando actualización de seguridad" diff --git a/tools/recovery_l10n/res/values-et-rEE/strings.xml b/tools/recovery_l10n/res/values-et-rEE/strings.xml index c448a5fa9..072a9ef80 100644 --- a/tools/recovery_l10n/res/values-et-rEE/strings.xml +++ b/tools/recovery_l10n/res/values-et-rEE/strings.xml @@ -1,9 +1,9 @@ - "Süsteemivärskenduste installimine ..." - "Kustutamine ..." - "Käsk puudub." + "Süsteemivärskenduse installimine" + "Kustutamine" + "Käsk puudub" "Viga!" - "Turvavärskenduse installimine …" + "Turvavärskenduse installimine" diff --git a/tools/recovery_l10n/res/values-eu-rES/strings.xml b/tools/recovery_l10n/res/values-eu-rES/strings.xml index f0374dade..5540469d0 100644 --- a/tools/recovery_l10n/res/values-eu-rES/strings.xml +++ b/tools/recovery_l10n/res/values-eu-rES/strings.xml @@ -1,9 +1,9 @@ - "Sistemaren eguneratzea instalatzen…" - "Ezabatzen…" - "Ez dago agindurik." + "Sistemaren eguneratzea instalatzen" + "Eduki guztia ezabatzen" + "Ez dago agindurik" "Errorea" - "Segurtasun-eguneratzea instalatzen…" + "Segurtasun-eguneratzea instalatzen" diff --git a/tools/recovery_l10n/res/values-fa/strings.xml b/tools/recovery_l10n/res/values-fa/strings.xml index bd85fc65a..cc390ae84 100644 --- a/tools/recovery_l10n/res/values-fa/strings.xml +++ b/tools/recovery_l10n/res/values-fa/strings.xml @@ -1,9 +1,9 @@ - "در حال نصب به‌روزرسانی سیستم ..." - "پاک کردن..." - "فرمانی موجود نیست." + "در حال نصب به‌روزرسانی سیستم" + "در حال پاک کردن" + "فرمانی وجود ندارد" "خطا!" - "درحال نصب به‌روزرسانی امنیتی…‏" + "در حال نصب به‌روزرسانی امنیتی" diff --git a/tools/recovery_l10n/res/values-fi/strings.xml b/tools/recovery_l10n/res/values-fi/strings.xml index 34e79b9fc..5141642c8 100644 --- a/tools/recovery_l10n/res/values-fi/strings.xml +++ b/tools/recovery_l10n/res/values-fi/strings.xml @@ -1,9 +1,9 @@ - "Asennetaan järjestelmäpäivitystä..." - "Tyhjennetään..." - "Ei komentoa." + "Asennetaan järjestelmäpäivitystä" + "Tyhjennetään" + "Ei komentoa" "Virhe!" - "Asennetaan suojauspäivitystä…" + "Asennetaan tietoturvapäivitystä" diff --git a/tools/recovery_l10n/res/values-fr-rCA/strings.xml b/tools/recovery_l10n/res/values-fr-rCA/strings.xml index 3b2bdf68e..b2415290b 100644 --- a/tools/recovery_l10n/res/values-fr-rCA/strings.xml +++ b/tools/recovery_l10n/res/values-fr-rCA/strings.xml @@ -1,9 +1,9 @@ - "Installation de la mise à jour du système en cours…" - "Effacement en cours…" - "Aucune commande." + "Installation de la mise à jour du système en cours…" + "Suppression en cours..." + "Aucune commande" "Erreur!" - "Installation de la mise à jour de sécurité en cours..." + "Installation de la mise à jour de sécurité en cours..." diff --git a/tools/recovery_l10n/res/values-fr/strings.xml b/tools/recovery_l10n/res/values-fr/strings.xml index d5559d5ca..f0472b5ac 100644 --- a/tools/recovery_l10n/res/values-fr/strings.xml +++ b/tools/recovery_l10n/res/values-fr/strings.xml @@ -1,9 +1,9 @@ - "Installation de la mise à jour du système en cours…" - "Effacement en cours…" - "Aucune commande." + "Installation de la mise à jour du système…" + "Suppression…" + "Aucune commande" "Erreur !" - "Installation de la mise à jour de sécurité…" + "Installation de la mise à jour de sécurité…" diff --git a/tools/recovery_l10n/res/values-gl-rES/strings.xml b/tools/recovery_l10n/res/values-gl-rES/strings.xml index 9ce75a459..42b2016c2 100644 --- a/tools/recovery_l10n/res/values-gl-rES/strings.xml +++ b/tools/recovery_l10n/res/values-gl-rES/strings.xml @@ -1,9 +1,9 @@ - "Instalando actualización do sistema..." - "Borrando..." - "Ningún comando" + "Instalando actualización do sistema" + "Borrando" + "Non hai ningún comando" "Erro" - "Instalando actualización de seguranza…" + "Instalando actualización de seguranza" diff --git a/tools/recovery_l10n/res/values-gu-rIN/strings.xml b/tools/recovery_l10n/res/values-gu-rIN/strings.xml index 369cbdad0..2355a0f4f 100644 --- a/tools/recovery_l10n/res/values-gu-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-gu-rIN/strings.xml @@ -1,9 +1,9 @@ - "સિસ્ટમ અપડેટ ઇન્સ્ટોલ કરી રહ્યાં છે…" - "કાઢી નાખી રહ્યાં છે…" - "કોઈ આદેશ નથી." + "સિસ્ટમ અપડેટ ઇન્સ્ટૉલ કરી રહ્યાં છે" + "કાઢી નાખી રહ્યું છે" + "કોઈ આદેશ નથી" "ભૂલ!" - "સુરક્ષા અપડેટ ઇન્સ્ટૉલ કરી રહ્યાં છે…" + "સુરક્ષા અપડેટ ઇન્સ્ટૉલ કરી રહ્યાં છે" diff --git a/tools/recovery_l10n/res/values-hi/strings.xml b/tools/recovery_l10n/res/values-hi/strings.xml index ff834446b..de8757848 100644 --- a/tools/recovery_l10n/res/values-hi/strings.xml +++ b/tools/recovery_l10n/res/values-hi/strings.xml @@ -1,9 +1,9 @@ - "सिस्टम अपडेट इंस्टॉल किया जा रहा है…" - "मिटा रहा है…" - "कोई आदेश नहीं." + "सिस्टम अपडेट इंस्टॉल किया जा रहा है" + "मिटाया जा रहा है" + "कोई आदेश नहीं" "त्रुटि!" - "सुरक्षा अपडेट इंस्टॉल किया जा रहा है…" + "सुरक्षा अपडेट इंस्टॉल किया जा रहा है" diff --git a/tools/recovery_l10n/res/values-hr/strings.xml b/tools/recovery_l10n/res/values-hr/strings.xml index bb3b6ff4e..3b75ff115 100644 --- a/tools/recovery_l10n/res/values-hr/strings.xml +++ b/tools/recovery_l10n/res/values-hr/strings.xml @@ -1,9 +1,9 @@ - "Instaliranje ažuriranja sustava…" - "Brisanje…" - "Nema naredbe." + "Instaliranje ažuriranja sustava" + "Brisanje" + "Nema naredbe" "Pogreška!" - "Instaliranje sigurnosnog ažuriranja…" + "Instaliranje sigurnosnog ažuriranja" diff --git a/tools/recovery_l10n/res/values-hu/strings.xml b/tools/recovery_l10n/res/values-hu/strings.xml index 530b31662..12d4d9fe7 100644 --- a/tools/recovery_l10n/res/values-hu/strings.xml +++ b/tools/recovery_l10n/res/values-hu/strings.xml @@ -1,9 +1,9 @@ - "Rendszerfrissítés telepítése..." - "Törlés..." - "Nincs parancs." + "Rendszerfrissítés telepítése" + "Törlés" + "Nincs parancs" "Hiba!" - "Biztonsági frissítés telepítése…" + "Biztonsági frissítés telepítése" diff --git a/tools/recovery_l10n/res/values-hy-rAM/strings.xml b/tools/recovery_l10n/res/values-hy-rAM/strings.xml index 61c656763..9d62bb763 100644 --- a/tools/recovery_l10n/res/values-hy-rAM/strings.xml +++ b/tools/recovery_l10n/res/values-hy-rAM/strings.xml @@ -1,9 +1,9 @@ - "Համակարգի թարմացման տեղադրում…" - "Ջնջում…" - "Հրամանը տրված չէ:" + "Համակարգի թարմացման տեղադրում" + "Ջնջում" + "Հրամանը տրված չէ" "Սխալ" - "Անվտանգության թարմացումը տեղադրվում է…" + "Անվտանգության թարմացման տեղադրում" diff --git a/tools/recovery_l10n/res/values-in/strings.xml b/tools/recovery_l10n/res/values-in/strings.xml index 0bc8179f1..0e56e0dd9 100644 --- a/tools/recovery_l10n/res/values-in/strings.xml +++ b/tools/recovery_l10n/res/values-in/strings.xml @@ -1,9 +1,9 @@ - "Memasang pemutakhiran sistem…" - "Menghapus..." - "Tidak ada perintah." + "Memasang pembaruan sistem" + "Menghapus" + "Tidak ada perintah" "Error!" - "Memasang pembaruan keamanan..." + "Memasang pembaruan keamanan" diff --git a/tools/recovery_l10n/res/values-is-rIS/strings.xml b/tools/recovery_l10n/res/values-is-rIS/strings.xml index 9f9f461cf..5065b6522 100644 --- a/tools/recovery_l10n/res/values-is-rIS/strings.xml +++ b/tools/recovery_l10n/res/values-is-rIS/strings.xml @@ -1,9 +1,9 @@ - "Setur upp kerfisuppfærslu…" - "Þurrkar út…" - "Engin skipun." + "Setur upp kerfisuppfærslu" + "Eyðir" + "Engin skipun" "Villa!" - "Setur upp öryggisuppfærslu..." + "Setur upp öryggisuppfærslu" diff --git a/tools/recovery_l10n/res/values-it/strings.xml b/tools/recovery_l10n/res/values-it/strings.xml index 2a24195c5..2c0364e60 100644 --- a/tools/recovery_l10n/res/values-it/strings.xml +++ b/tools/recovery_l10n/res/values-it/strings.xml @@ -1,9 +1,9 @@ - "Installazione aggiornamento di sistema…" - "Cancellazione…" - "Nessun comando." + "Installazione aggiornamento di sistema…" + "Cancellazione…" + "Nessun comando" "Errore!" - "Installazione dell\'aggiornamento della sicurezza…" + "Installazione aggiornamento sicurezza…" diff --git a/tools/recovery_l10n/res/values-iw/strings.xml b/tools/recovery_l10n/res/values-iw/strings.xml index f77639d96..ea5e6f2c9 100644 --- a/tools/recovery_l10n/res/values-iw/strings.xml +++ b/tools/recovery_l10n/res/values-iw/strings.xml @@ -1,9 +1,9 @@ - "מתקין עדכון מערכת…" - "מוחק…" - "אין פקודה." + "מתקין עדכון מערכת" + "מוחק" + "אין פקודה" "שגיאה!" - "מתקין עדכון אבטחה…" + "מתקין עדכון אבטחה" diff --git a/tools/recovery_l10n/res/values-ja/strings.xml b/tools/recovery_l10n/res/values-ja/strings.xml index a85ffb92a..36e029b0f 100644 --- a/tools/recovery_l10n/res/values-ja/strings.xml +++ b/tools/recovery_l10n/res/values-ja/strings.xml @@ -1,9 +1,9 @@ - "システム アップデートをインストールしています…" - "消去しています…" - "コマンドが指定されていません。" + "システム アップデートをインストールしています" + "消去しています" + "コマンドが指定されていません" "エラーが発生しました。" - "セキュリティ アップデートをインストールしています…" + "セキュリティ アップデートをインストールしています" diff --git a/tools/recovery_l10n/res/values-ka-rGE/strings.xml b/tools/recovery_l10n/res/values-ka-rGE/strings.xml index 556e8131f..6a46b3677 100644 --- a/tools/recovery_l10n/res/values-ka-rGE/strings.xml +++ b/tools/recovery_l10n/res/values-ka-rGE/strings.xml @@ -1,9 +1,9 @@ - "მიმდინარეობს სისტემის განახლების ინსტალაცია…" - "მიმდინარეობს ამოშლა…" - "ბრძანება არ არის." + "მიმდინარეობს სისტემის განახლების ინსტალაცია" + "მიმდინარეობს ამოშლა" + "ბრძანება არ არის" "წარმოიქმნა შეცდომა!" - "მიმდინარეობს უსაფრთხოების განახლების ინსტალაცია…" + "მიმდინარეობს უსაფრთხოების განახლების ინსტალაცია" diff --git a/tools/recovery_l10n/res/values-kk-rKZ/strings.xml b/tools/recovery_l10n/res/values-kk-rKZ/strings.xml index f347315cf..a4bd86e66 100644 --- a/tools/recovery_l10n/res/values-kk-rKZ/strings.xml +++ b/tools/recovery_l10n/res/values-kk-rKZ/strings.xml @@ -1,9 +1,9 @@ - "Жүйе жаңартуларын орнатуда…" - "Өшіруде..." - "Пәрмен берілген жоқ." + "Жүйе жаңартуы орнатылуда" + "Өшірілуде" + "Пәрмен жоқ" "Қате!" - "Қауіпсіздік жаңартуы орнатылуда…" + "Қауіпсіздік жаңартуы орнатылуда" diff --git a/tools/recovery_l10n/res/values-km-rKH/strings.xml b/tools/recovery_l10n/res/values-km-rKH/strings.xml index 46716822c..313c0f457 100644 --- a/tools/recovery_l10n/res/values-km-rKH/strings.xml +++ b/tools/recovery_l10n/res/values-km-rKH/strings.xml @@ -1,9 +1,9 @@ - "កំពុង​ដំឡើង​បច្ចុប្បន្នភាព​ប្រព័ន្ធ…" - "កំពុង​លុប…" - "គ្មាន​ពាក្យ​បញ្ជា។" + "កំពុងអាប់ដេតប្រព័ន្ធ" + "លុប" + "គ្មានពាក្យបញ្ជាទេ" "កំហុស!" - "កំពុងដំឡើងការអាប់ដេតសុវត្ថិភាព…" + "កំពុងដំឡើងការអាប់ដេតសុវត្ថិភាព" diff --git a/tools/recovery_l10n/res/values-kn-rIN/strings.xml b/tools/recovery_l10n/res/values-kn-rIN/strings.xml index c5eaef86f..5bf6260ee 100644 --- a/tools/recovery_l10n/res/values-kn-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-kn-rIN/strings.xml @@ -1,9 +1,9 @@ - "ಸಿಸ್ಟಂ ನವೀಕರಣವನ್ನು ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ…" - "ಅಳಿಸಲಾಗುತ್ತಿದೆ…" - "ಯಾವುದೇ ಆದೇಶವಿಲ್ಲ." + "ಸಿಸ್ಟಂ ಅಪ್‌ಡೇಟ್‌ ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ" + "ಅಳಿಸಲಾಗುತ್ತಿದೆ" + "ಯಾವುದೇ ಆದೇಶವಿಲ್ಲ" "ದೋಷ!" - "ಭದ್ರತೆ ಅಪ್‌ಡೇಟ್‌ ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ…" + "ಭದ್ರತೆಯ ಅಪ್‌ಡೇಟ್‌ ಸ್ಥಾಪಿಸಲಾಗುತ್ತಿದೆ" diff --git a/tools/recovery_l10n/res/values-ko/strings.xml b/tools/recovery_l10n/res/values-ko/strings.xml index 85026f804..aca13bbe7 100644 --- a/tools/recovery_l10n/res/values-ko/strings.xml +++ b/tools/recovery_l10n/res/values-ko/strings.xml @@ -1,9 +1,9 @@ - "시스템 업데이트 설치 중…" - "지우는 중…" - "명령어가 없습니다." + "시스템 업데이트 설치" + "지우는 중" + "명령어 없음" "오류!" - "보안 업데이트 설치 중…" + "보안 업데이트 설치 중" diff --git a/tools/recovery_l10n/res/values-ky-rKG/strings.xml b/tools/recovery_l10n/res/values-ky-rKG/strings.xml index 3d9a1c68f..0a6bd783a 100644 --- a/tools/recovery_l10n/res/values-ky-rKG/strings.xml +++ b/tools/recovery_l10n/res/values-ky-rKG/strings.xml @@ -1,9 +1,9 @@ - "Тутум жаңыртуусу орнотулууда…" - "Тазаланууда…" - "Буйрук берилген жок." + "Тутум жаңыртуусу орнотулууда" + "Тазаланууда" + "Буйрук берилген жок" "Ката!" - "Коопсуздук жаңыртуусу орнотулууда…" + "Коопсуздук жаңыртуусу орнотулууда" diff --git a/tools/recovery_l10n/res/values-lo-rLA/strings.xml b/tools/recovery_l10n/res/values-lo-rLA/strings.xml index 6a3b65e04..d3dbb3970 100644 --- a/tools/recovery_l10n/res/values-lo-rLA/strings.xml +++ b/tools/recovery_l10n/res/values-lo-rLA/strings.xml @@ -1,9 +1,9 @@ - "ກຳລັງຕິດຕັ້ງການອັບເດດລະບົບ..." - "ກຳລັງລຶບ..." - "ບໍ່ມີຄຳສັ່ງ." + "ກຳລັງຕິດຕັ້ງການອັບເດດລະບົບ" + "ກຳລັງລຶບ" + "ບໍ່ມີຄຳສັ່ງ" "ຜິດພາດ!" - "ກຳລັງຕິດຕັ້ງອັບເດດຄວາມປອດໄພ…" + "ກຳລັງຕິດຕັ້ງອັບເດດຄວາມປອດໄພ" diff --git a/tools/recovery_l10n/res/values-lt/strings.xml b/tools/recovery_l10n/res/values-lt/strings.xml index ef64e403d..d5d5e88fd 100644 --- a/tools/recovery_l10n/res/values-lt/strings.xml +++ b/tools/recovery_l10n/res/values-lt/strings.xml @@ -1,9 +1,9 @@ - "Diegiamas sistemos naujinys…" - "Ištrinama…" - "Nėra komandos." + "Diegiamas sistemos naujinys" + "Ištrinama" + "Nėra jokių komandų" "Klaida!" - "Diegiamas saugos naujinys…" + "Diegiamas saugos naujinys" diff --git a/tools/recovery_l10n/res/values-lv/strings.xml b/tools/recovery_l10n/res/values-lv/strings.xml index 3ec22cea4..d877f6a61 100644 --- a/tools/recovery_l10n/res/values-lv/strings.xml +++ b/tools/recovery_l10n/res/values-lv/strings.xml @@ -1,9 +1,9 @@ - "Notiek sistēmas atjauninājuma instalēšana..." - "Notiek dzēšana..." - "Nav nevienas komandas." + "Notiek sistēmas atjauninājuma instalēšana" + "Notiek dzēšana" + "Nav nevienas komandas" "Kļūda!" - "Notiek drošības atjauninājuma instalēšana…" + "Notiek drošības atjauninājuma instalēšana" diff --git a/tools/recovery_l10n/res/values-mk-rMK/strings.xml b/tools/recovery_l10n/res/values-mk-rMK/strings.xml index 5cf60088e..351459730 100644 --- a/tools/recovery_l10n/res/values-mk-rMK/strings.xml +++ b/tools/recovery_l10n/res/values-mk-rMK/strings.xml @@ -1,9 +1,9 @@ - "Се инсталира ажурирање на системот..." - "Се брише..." - "Нема наредба." + "Се инсталира ажурирање на системот" + "Се брише" + "Нема наредба" "Грешка!" - "Се инсталира безбедносно ажурирање…" + "Се инсталира безбедносно ажурирање" diff --git a/tools/recovery_l10n/res/values-ml-rIN/strings.xml b/tools/recovery_l10n/res/values-ml-rIN/strings.xml index 4048374b4..b506e2530 100644 --- a/tools/recovery_l10n/res/values-ml-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-ml-rIN/strings.xml @@ -1,9 +1,9 @@ - "സിസ്റ്റം അപ്‌ഡേറ്റ് ഇൻസ്റ്റാളുചെയ്യുന്നു…" - "മായ്‌ക്കുന്നു…" - "കമാൻഡ് ഒന്നുമില്ല." + "സിസ്റ്റം അപ്‌ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യുന്നു" + "മായ്‌ക്കുന്നു" + "കമാൻഡ് ഒന്നുമില്ല" "പിശക്!" - "സുരക്ഷാ അപ്ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യുന്നു…" + "സുരക്ഷാ അപ്ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യുന്നു" diff --git a/tools/recovery_l10n/res/values-mn-rMN/strings.xml b/tools/recovery_l10n/res/values-mn-rMN/strings.xml index 70508d5fa..e3dd2e90e 100644 --- a/tools/recovery_l10n/res/values-mn-rMN/strings.xml +++ b/tools/recovery_l10n/res/values-mn-rMN/strings.xml @@ -1,9 +1,9 @@ - "Системийн шинэчлэлтийг суулгаж байна…" - "Арилгаж байна…" - "Команд байхгүй." + "Системийн шинэчлэлтийг суулгаж байна" + "Устгаж байна" + "Тушаал байхгүй" "Алдаа!" - "Аюулгүй байдлын шинэчлэлтийг суулгаж байна..." + "Аюулгүй байдлын шинэчлэлтийг суулгаж байна" diff --git a/tools/recovery_l10n/res/values-mr-rIN/strings.xml b/tools/recovery_l10n/res/values-mr-rIN/strings.xml index a052a8fe3..8cf86f773 100644 --- a/tools/recovery_l10n/res/values-mr-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-mr-rIN/strings.xml @@ -1,9 +1,9 @@ - "सिस्टम अद्यतन स्थापित करीत आहे..." - "मिटवित आहे…" - "कोणताही आदेश नाही." + "सिस्टम अद्यतन स्थापित करीत आहे" + "मिटवत आहे" + "कोणताही आदेश नाही" "त्रुटी!" - "सुरक्षा अद्यतन स्थापित करीत आहे..." + "सुरक्षा अद्यतन स्थापित करीत आहे" diff --git a/tools/recovery_l10n/res/values-ms-rMY/strings.xml b/tools/recovery_l10n/res/values-ms-rMY/strings.xml index 22b5b16d8..0e24ac4e1 100644 --- a/tools/recovery_l10n/res/values-ms-rMY/strings.xml +++ b/tools/recovery_l10n/res/values-ms-rMY/strings.xml @@ -1,9 +1,9 @@ - "Memasang kemas kini sistem..." - "Memadam..." - "Tiada arahan." + "Memasang kemas kini sistem" + "Memadam" + "Tiada perintah" "Ralat!" - "Memasang kemas kini keselamatan…" + "Memasang kemas kini keselamatan" diff --git a/tools/recovery_l10n/res/values-my-rMM/strings.xml b/tools/recovery_l10n/res/values-my-rMM/strings.xml index c63084e03..f13752461 100644 --- a/tools/recovery_l10n/res/values-my-rMM/strings.xml +++ b/tools/recovery_l10n/res/values-my-rMM/strings.xml @@ -1,9 +1,9 @@ - "စနစ်အား အဆင့်မြှင့်ခြင်း လုပ်ဆောင်နေသည်…" - "ဖျက်နေသည် ..." - "ညွှန်ကြားချက်မပေးထားပါ" + "စနစ်အပ်ဒိတ်ကို ထည့်သွင်းနေသည်" + "ဖျက်နေသည်" + "ညွှန်ကြားချက်မပေးထားပါ" "မှားနေပါသည်!" - "လုံခြုံရေးအပ်ဒိတ် ထည့်သွင်းနေသည်…" + "လုံခြုံရေး အပ်ဒိတ်ကို ထည့်သွင်းနေသည်" diff --git a/tools/recovery_l10n/res/values-nb/strings.xml b/tools/recovery_l10n/res/values-nb/strings.xml index 04a278cac..ad6f20e46 100644 --- a/tools/recovery_l10n/res/values-nb/strings.xml +++ b/tools/recovery_l10n/res/values-nb/strings.xml @@ -1,9 +1,9 @@ - "Installerer systemoppdateringen …" - "Sletter …" - "Ingen kommando." + "Installerer systemoppdateringen" + "Tømmer" + "Ingen kommandoer" "Feil!" - "Installerer sikkerhetsoppdateringen …" + "Installerer sikkerhetsoppdateringen" diff --git a/tools/recovery_l10n/res/values-ne-rNP/strings.xml b/tools/recovery_l10n/res/values-ne-rNP/strings.xml index 96ed544c6..1880e807b 100644 --- a/tools/recovery_l10n/res/values-ne-rNP/strings.xml +++ b/tools/recovery_l10n/res/values-ne-rNP/strings.xml @@ -1,9 +1,9 @@ - "प्रणाली सम्बन्धी अद्यावधिकलाई स्थापना गर्दै..." - "मेटाउँदै…" - "कुनै आदेश छैन।" + "प्रणालीको अद्यावधिकलाई स्थापना गर्दै" + "मेटाउँदै" + "कुनै आदेश छैन" "त्रुटि!" - "सुरक्षा सम्बन्धी अद्यावधिकलाई स्थापना गर्दै..." + "सुरक्षा सम्बन्धी अद्यावधिकलाई स्थापना गर्दै" diff --git a/tools/recovery_l10n/res/values-nl/strings.xml b/tools/recovery_l10n/res/values-nl/strings.xml index 8f75030f8..0d6c15abb 100644 --- a/tools/recovery_l10n/res/values-nl/strings.xml +++ b/tools/recovery_l10n/res/values-nl/strings.xml @@ -1,9 +1,9 @@ - "Systeemupdate installeren…" - "Wissen…" - "Geen opdracht." + "Systeemupdate installeren" + "Wissen" + "Geen opdracht" "Fout!" - "Beveiligingsupdate installeren…" + "Beveiligingsupdate installeren" diff --git a/tools/recovery_l10n/res/values-pa-rIN/strings.xml b/tools/recovery_l10n/res/values-pa-rIN/strings.xml index c4c41481e..8564c9c36 100644 --- a/tools/recovery_l10n/res/values-pa-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-pa-rIN/strings.xml @@ -1,9 +1,9 @@ - "ਸਿਸਟਮ ਅਪਡੇਟ ਇੰਸਟੌਲ ਕਰ ਰਿਹਾ ਹੈ…" - "ਹਟਾ ਰਿਹਾ ਹੈ…" - "ਕੋਈ ਕਮਾਂਡ ਨਹੀਂ।" + "ਸਿਸਟਮ ਅੱਪਡੇਟ ਸਥਾਪਤ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ" + "ਮਿਟਾਈ ਜਾ ਰਹੀ ਹੈ" + "ਕੋਈ ਕਮਾਂਡ ਨਹੀਂ" "ਅਸ਼ੁੱਧੀ!" - "ਸੁਰੱਖਿਆ ਅੱਪਡੇਟ ਸਥਾਪਤ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ…" + "ਸੁਰੱਖਿਆ ਅੱਪਡੇਟ ਸਥਾਪਤ ਕੀਤੀ ਜਾ ਰਹੀ ਹੈ" diff --git a/tools/recovery_l10n/res/values-pl/strings.xml b/tools/recovery_l10n/res/values-pl/strings.xml index e37b6b02d..8d6db388d 100644 --- a/tools/recovery_l10n/res/values-pl/strings.xml +++ b/tools/recovery_l10n/res/values-pl/strings.xml @@ -1,9 +1,9 @@ - "Instaluję aktualizację systemu…" - "Usuwam…" - "Brak polecenia." + "Instaluję aktualizację systemu" + "Kasuję" + "Brak polecenia" "Błąd" - "Instaluję aktualizację zabezpieczeń…" + "Instaluję aktualizację zabezpieczeń" diff --git a/tools/recovery_l10n/res/values-pt-rBR/strings.xml b/tools/recovery_l10n/res/values-pt-rBR/strings.xml index bd2bfb9d6..b72704385 100644 --- a/tools/recovery_l10n/res/values-pt-rBR/strings.xml +++ b/tools/recovery_l10n/res/values-pt-rBR/strings.xml @@ -1,9 +1,9 @@ - "Instalando atualização do sistema..." - "Apagando..." - "Nenhum comando." + "Instalando atualização do sistema" + "Apagando" + "Nenhum comando" "Erro!" - "Instalando atualização de segurança…" + "Instalando atualização de segurança" diff --git a/tools/recovery_l10n/res/values-pt-rPT/strings.xml b/tools/recovery_l10n/res/values-pt-rPT/strings.xml index 8379fe9aa..981463739 100644 --- a/tools/recovery_l10n/res/values-pt-rPT/strings.xml +++ b/tools/recovery_l10n/res/values-pt-rPT/strings.xml @@ -1,9 +1,9 @@ - "A instalar a atualização do sistema..." - "A apagar…" - "Nenhum comando." + "A instalar atualização do sistema" + "A apagar" + "Nenhum comando" "Erro!" - "A instalar atualização de segurança…" + "A instalar atualização de segurança" diff --git a/tools/recovery_l10n/res/values-pt/strings.xml b/tools/recovery_l10n/res/values-pt/strings.xml index bd2bfb9d6..b72704385 100644 --- a/tools/recovery_l10n/res/values-pt/strings.xml +++ b/tools/recovery_l10n/res/values-pt/strings.xml @@ -1,9 +1,9 @@ - "Instalando atualização do sistema..." - "Apagando..." - "Nenhum comando." + "Instalando atualização do sistema" + "Apagando" + "Nenhum comando" "Erro!" - "Instalando atualização de segurança…" + "Instalando atualização de segurança" diff --git a/tools/recovery_l10n/res/values-ro/strings.xml b/tools/recovery_l10n/res/values-ro/strings.xml index 283fffc19..8032865b8 100644 --- a/tools/recovery_l10n/res/values-ro/strings.xml +++ b/tools/recovery_l10n/res/values-ro/strings.xml @@ -1,9 +1,9 @@ - "Se instalează actualizarea de sistem…" - "Se efectuează ștergerea…" - "Nicio comandă." + "Se instalează actualizarea de sistem" + "Se șterge" + "Nicio comandă" "Eroare!" - "Se instalează actualizarea de securitate…" + "Se instalează actualizarea de securitate" diff --git a/tools/recovery_l10n/res/values-ru/strings.xml b/tools/recovery_l10n/res/values-ru/strings.xml index 83ba34615..feebecf31 100644 --- a/tools/recovery_l10n/res/values-ru/strings.xml +++ b/tools/recovery_l10n/res/values-ru/strings.xml @@ -1,9 +1,9 @@ - "Установка обновления системы…" - "Удаление…" - "Команды нет" + "Установка обновления системы…" + "Удаление…" + "Команды нет" "Ошибка" - "Установка обновления системы безопасности…" + "Установка обновления системы безопасности…" diff --git a/tools/recovery_l10n/res/values-si-rLK/strings.xml b/tools/recovery_l10n/res/values-si-rLK/strings.xml index 51643af53..456cdc567 100644 --- a/tools/recovery_l10n/res/values-si-rLK/strings.xml +++ b/tools/recovery_l10n/res/values-si-rLK/strings.xml @@ -1,9 +1,9 @@ - "පද්ධති යාවත්කාල ස්ථාපනය කරමින්…" - "මකමින්...." - "විධානයක් නොමැත." + "පද්ධති යාවත්කාලීනය ස්ථාපනය කරමින්" + "මකමින්" + "විධානයක් නොමැත" "දෝෂය!" - "ආරක්ෂක යාවත්කාලීනය ස්ථාපනය කරමින්..." + "ආරක්ෂක යාවත්කාලීනය ස්ථාපනය කරමින්" diff --git a/tools/recovery_l10n/res/values-sk/strings.xml b/tools/recovery_l10n/res/values-sk/strings.xml index ba1d9a704..b15f3802b 100644 --- a/tools/recovery_l10n/res/values-sk/strings.xml +++ b/tools/recovery_l10n/res/values-sk/strings.xml @@ -1,9 +1,9 @@ - "Inštalácia aktualizácie systému..." - "Prebieha mazanie..." - "Žiadny príkaz." + "Inštaluje sa aktualizácia systému" + "Prebieha vymazávanie" + "Žiadny príkaz" "Chyba!" - "Inštaluje sa bezpečnostná aktualizácia…" + "Inštaluje sa bezpečnostná aktualizácia" diff --git a/tools/recovery_l10n/res/values-sl/strings.xml b/tools/recovery_l10n/res/values-sl/strings.xml index 0e031def8..d608b7506 100644 --- a/tools/recovery_l10n/res/values-sl/strings.xml +++ b/tools/recovery_l10n/res/values-sl/strings.xml @@ -1,9 +1,9 @@ - "Namestitev posodobitve sistema ..." - "Brisanje ..." - "Ni ukaza" + "Nameščanje posodobitve sistema" + "Brisanje" + "Ni ukaza" "Napaka" - "Nameščanje varnostne posodobitve …" + "Nameščanje varnostne posodobitve" diff --git a/tools/recovery_l10n/res/values-sq-rAL/strings.xml b/tools/recovery_l10n/res/values-sq-rAL/strings.xml index 37b09e706..1156931fb 100644 --- a/tools/recovery_l10n/res/values-sq-rAL/strings.xml +++ b/tools/recovery_l10n/res/values-sq-rAL/strings.xml @@ -1,9 +1,9 @@ - "Po instalon përditësimin e sistemit..." - "Po spastron..." - "Nuk ka komanda." + "Po instalon përditësimin e sistemit" + "Po spastron" + "Nuk ka komanda" "Gabim!" - "Po instalon përditësimin e sigurisë..." + "Po instalon përditësimin e sigurisë" diff --git a/tools/recovery_l10n/res/values-sr/strings.xml b/tools/recovery_l10n/res/values-sr/strings.xml index 00595d74d..a593d8faa 100644 --- a/tools/recovery_l10n/res/values-sr/strings.xml +++ b/tools/recovery_l10n/res/values-sr/strings.xml @@ -1,9 +1,9 @@ - "Инсталирање ажурирања система..." - "Брисање..." - "Нема команде." + "Ажурирање система се инсталира" + "Брише се" + "Нема команде" "Грешка!" - "Инсталира се безбедносно ажурирање…" + "Инсталира се безбедносно ажурирање" diff --git a/tools/recovery_l10n/res/values-sv/strings.xml b/tools/recovery_l10n/res/values-sv/strings.xml index d2655056a..b33ce253f 100644 --- a/tools/recovery_l10n/res/values-sv/strings.xml +++ b/tools/recovery_l10n/res/values-sv/strings.xml @@ -1,9 +1,9 @@ - "Installerar systemuppdatering ..." - "Tar bort ..." - "Inget kommando." + "Systemuppdatering installeras" + "Rensar" + "Inget kommando" "Fel!" - "Säkerhetsuppdatering installeras …" + "Säkerhetsuppdatering installeras" diff --git a/tools/recovery_l10n/res/values-sw/strings.xml b/tools/recovery_l10n/res/values-sw/strings.xml index 2fdab151f..156765881 100644 --- a/tools/recovery_l10n/res/values-sw/strings.xml +++ b/tools/recovery_l10n/res/values-sw/strings.xml @@ -1,9 +1,9 @@ - "Inasakinisha sasisho la mfumo…" - "Inafuta…" - "Hakuna amri." + "Inasakinisha sasisho la mfumo" + "Inafuta" + "Hakuna amri" "Hitilafu fulani imetokea!" - "Inasakinisha sasisho la usalama..." + "Inasakinisha sasisho la usalama" diff --git a/tools/recovery_l10n/res/values-ta-rIN/strings.xml b/tools/recovery_l10n/res/values-ta-rIN/strings.xml index 2b278e370..d49186d8d 100644 --- a/tools/recovery_l10n/res/values-ta-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-ta-rIN/strings.xml @@ -1,9 +1,9 @@ - "முறைமைப் புதுப்பிப்பை நிறுவுகிறது…" - "அழிக்கிறது…" - "கட்டளை இல்லை." + "முறைமைப் புதுப்பிப்பை நிறுவுகிறது" + "அழிக்கிறது" + "கட்டளை இல்லை" "பிழை!" - "பாதுகாப்புப் புதுப்பிப்பை நிறுவுகிறது…" + "பாதுகாப்புப் புதுப்பிப்பை நிறுவுகிறது" diff --git a/tools/recovery_l10n/res/values-te-rIN/strings.xml b/tools/recovery_l10n/res/values-te-rIN/strings.xml index ee5435dd5..cfb02c915 100644 --- a/tools/recovery_l10n/res/values-te-rIN/strings.xml +++ b/tools/recovery_l10n/res/values-te-rIN/strings.xml @@ -1,9 +1,9 @@ - "సిస్టమ్ నవీకరణను ఇన్‍స్టాల్ చేస్తోంది…" - "డేటాను తొలగిస్తోంది…" - "ఆదేశం లేదు." + "సిస్టమ్ నవీకరణను ఇన్‍స్టాల్ చేస్తోంది" + "డేటాను తొలగిస్తోంది" + "ఆదేశం లేదు" "లోపం సంభవించింది!" - "భద్రతా నవీకరణను ఇన్‌స్టాల్ చేస్తోంది…" + "భద్రతా నవీకరణను ఇన్‌స్టాల్ చేస్తోంది" diff --git a/tools/recovery_l10n/res/values-th/strings.xml b/tools/recovery_l10n/res/values-th/strings.xml index fbd16d7b6..155affea0 100644 --- a/tools/recovery_l10n/res/values-th/strings.xml +++ b/tools/recovery_l10n/res/values-th/strings.xml @@ -1,9 +1,9 @@ - "กำลังติดตั้งการอัปเดตระบบ…" - "กำลังลบ…" - "ไม่มีคำสั่ง" + "กำลังติดตั้งการอัปเดตระบบ" + "กำลังลบ" + "ไม่มีคำสั่ง" "ข้อผิดพลาด!" - "กำลังติดตั้งการอัปเดตความปลอดภัย…" + "กำลังติดตั้งการอัปเดตความปลอดภัย" diff --git a/tools/recovery_l10n/res/values-tl/strings.xml b/tools/recovery_l10n/res/values-tl/strings.xml index bc3efdb2c..555b42b8d 100644 --- a/tools/recovery_l10n/res/values-tl/strings.xml +++ b/tools/recovery_l10n/res/values-tl/strings.xml @@ -1,9 +1,9 @@ - "Ini-install ang update sa system…" - "Binubura…" - "Walang command." + "Nag-i-install ng pag-update ng system" + "Binubura" + "Walang command" "Error!" - "Ini-install ang update sa seguridad…" + "Nag-i-install ng update sa seguridad" diff --git a/tools/recovery_l10n/res/values-tr/strings.xml b/tools/recovery_l10n/res/values-tr/strings.xml index efa950319..5387cb2ae 100644 --- a/tools/recovery_l10n/res/values-tr/strings.xml +++ b/tools/recovery_l10n/res/values-tr/strings.xml @@ -1,9 +1,9 @@ - "Sistem güncellemesi yükleniyor…" - "Siliniyor…" - "Komut yok." + "Sistem güncellemesi yükleniyor" + "Siliniyor" + "Komut yok" "Hata!" - "Güvenlik güncellemesi yükleniyor…" + "Güvenlik güncellemesi yükleniyor" diff --git a/tools/recovery_l10n/res/values-uk/strings.xml b/tools/recovery_l10n/res/values-uk/strings.xml index e67eccf6f..0c2fa164a 100644 --- a/tools/recovery_l10n/res/values-uk/strings.xml +++ b/tools/recovery_l10n/res/values-uk/strings.xml @@ -1,9 +1,9 @@ - "Встановлення оновлення системи…" - "Стирання…" - "Немає команди." + "Установлюється оновлення системи" + "Стирання" + "Немає команди" "Помилка!" - "Установлюється оновлення системи безпеки…" + "Установлюється оновлення системи безпеки" diff --git a/tools/recovery_l10n/res/values-ur-rPK/strings.xml b/tools/recovery_l10n/res/values-ur-rPK/strings.xml index b732bb913..12e32fbc1 100644 --- a/tools/recovery_l10n/res/values-ur-rPK/strings.xml +++ b/tools/recovery_l10n/res/values-ur-rPK/strings.xml @@ -1,9 +1,9 @@ - "سسٹم اپ ڈیٹ انسٹال ہو رہا ہے…" - "صاف کر رہا ہے…" - "کوئی کمانڈ نہیں ہے۔" + "سسٹم اپ ڈیٹ انسٹال ہو رہی ہے" + "صاف ہو رہا ہے" + "کوئی کمانڈ نہیں ہے" "خرابی!" - "سیکیورٹی اپ ڈیٹ انسٹال ہو رہی ہے…" + "سیکیورٹی اپ ڈیٹ انسٹال ہو رہی ہے" diff --git a/tools/recovery_l10n/res/values-uz-rUZ/strings.xml b/tools/recovery_l10n/res/values-uz-rUZ/strings.xml index 2353d475f..2c309d646 100644 --- a/tools/recovery_l10n/res/values-uz-rUZ/strings.xml +++ b/tools/recovery_l10n/res/values-uz-rUZ/strings.xml @@ -1,9 +1,9 @@ - "Tizim yangilanishi o‘rnatilmoqda…" - "Tozalanmoqda…" - "Buyruq yo‘q." + "Tizim yangilanishi o‘rnatilmoqda" + "Tozalanmoqda…" + "Buyruq yo‘q" "Xato!" - "Xavfsizlik yangilanishi o‘rnatilmoqda…" + "Xavfsizlik yangilanishi o‘rnatilmoqda" diff --git a/tools/recovery_l10n/res/values-vi/strings.xml b/tools/recovery_l10n/res/values-vi/strings.xml index c91e100fb..c77d0c8c2 100644 --- a/tools/recovery_l10n/res/values-vi/strings.xml +++ b/tools/recovery_l10n/res/values-vi/strings.xml @@ -1,9 +1,9 @@ - "Đang cài đặt bản cập nhật hệ thống…" - "Đang xóa…" - "Không có lệnh nào." + "Đang cài đặt bản cập nhật hệ thống" + "Đang xóa" + "Không có lệnh nào" "Lỗi!" - "Đang cài đặt bản cập nhật bảo mật..." + "Đang cài đặt bản cập nhật bảo mật" diff --git a/tools/recovery_l10n/res/values-zh-rCN/strings.xml b/tools/recovery_l10n/res/values-zh-rCN/strings.xml index a6bf54286..e06149791 100644 --- a/tools/recovery_l10n/res/values-zh-rCN/strings.xml +++ b/tools/recovery_l10n/res/values-zh-rCN/strings.xml @@ -1,9 +1,9 @@ - "正在安装系统更新…" - "正在清空…" - "无命令。" + "正在安装系统更新" + "正在清空" + "无命令" "出错了!" - "正在安装安全更新…" + "正在安装安全更新" diff --git a/tools/recovery_l10n/res/values-zh-rHK/strings.xml b/tools/recovery_l10n/res/values-zh-rHK/strings.xml index 1f0ce144b..ec3315d32 100644 --- a/tools/recovery_l10n/res/values-zh-rHK/strings.xml +++ b/tools/recovery_l10n/res/values-zh-rHK/strings.xml @@ -1,9 +1,9 @@ - "正在安裝系統更新…" - "正在清除…" - "沒有指令。" + "正在安裝系統更新" + "正在清除" + "沒有指令" "錯誤!" - "正在安裝安全性更新…" + "正在安裝安全性更新" diff --git a/tools/recovery_l10n/res/values-zh-rTW/strings.xml b/tools/recovery_l10n/res/values-zh-rTW/strings.xml index ab9641a5e..78eae2429 100644 --- a/tools/recovery_l10n/res/values-zh-rTW/strings.xml +++ b/tools/recovery_l10n/res/values-zh-rTW/strings.xml @@ -1,9 +1,9 @@ - "正在安裝系統更新…" - "清除中..." - "沒有指令。" + "正在安裝系統更新" + "清除中" + "沒有指令" "錯誤!" - "正在安裝安全性更新…" + "正在安裝安全性更新" diff --git a/tools/recovery_l10n/res/values-zu/strings.xml b/tools/recovery_l10n/res/values-zu/strings.xml index 6289aab34..6b815e1ab 100644 --- a/tools/recovery_l10n/res/values-zu/strings.xml +++ b/tools/recovery_l10n/res/values-zu/strings.xml @@ -1,9 +1,9 @@ - "Ifaka isibuyekezo sesistimu…" - "Iyasula…" - "Awukho umyalo." + "Ifaka isibuyekezo sesistimu" + "Iyasula" + "Awukho umyalo" "Iphutha!" - "Ifaka isibuyekezo sokuphepha…" + "Ifaka isibuyekezo sokuphepha" -- cgit v1.2.3 From 01fcbe160bd49891c0680b80c5688cd4feb2adbc Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 23 May 2016 17:43:41 -0700 Subject: Disable the meaningless parts of the UI for A/B. Bug: http://b/28748484 Change-Id: Ie86a265f4699503471e7c717d65677a916dbd25b --- Android.mk | 4 ++++ device.cpp | 54 ++++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 44 insertions(+), 14 deletions(-) diff --git a/Android.mk b/Android.mk index 65d123a86..9a064f236 100644 --- a/Android.mk +++ b/Android.mk @@ -93,6 +93,10 @@ ifeq ($(TARGET_USERIMAGES_USE_EXT4), true) LOCAL_STATIC_LIBRARIES += libext4_utils_static libz endif +ifeq ($(AB_OTA_UPDATER),true) + LOCAL_CFLAGS += -DAB_OTA_UPDATER=1 +endif + LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)/sbin ifeq ($(TARGET_RECOVERY_UI_LIB),) diff --git a/device.cpp b/device.cpp index 2465b0778..f8fbb8a49 100644 --- a/device.cpp +++ b/device.cpp @@ -16,6 +16,29 @@ #include "device.h" +#if defined(AB_OTA_UPDATER) + +static const char* MENU_ITEMS[] = { + "Reboot system now", + "Reboot to bootloader", + "Wipe data/factory reset", + "Mount /system", + "Run graphics test", + "Power off", + NULL, +}; + +static const Device::BuiltinAction MENU_ACTIONS[] = { + Device::REBOOT, + Device::REBOOT_BOOTLOADER, + Device::WIPE_DATA, + Device::MOUNT_SYSTEM, + Device::RUN_GRAPHICS_TEST, + Device::SHUTDOWN, +}; + +#else + static const char* MENU_ITEMS[] = { "Reboot system now", "Reboot to bootloader", @@ -27,27 +50,30 @@ static const char* MENU_ITEMS[] = { "View recovery logs", "Run graphics test", "Power off", - NULL + NULL, }; +static const Device::BuiltinAction MENU_ACTIONS[] = { + Device::REBOOT, + Device::REBOOT_BOOTLOADER, + Device::APPLY_ADB_SIDELOAD, + Device::APPLY_SDCARD, + Device::WIPE_DATA, + Device::WIPE_CACHE, + Device::MOUNT_SYSTEM, + Device::VIEW_RECOVERY_LOGS, + Device::RUN_GRAPHICS_TEST, + Device::SHUTDOWN, +}; + +#endif + const char* const* Device::GetMenuItems() { return MENU_ITEMS; } Device::BuiltinAction Device::InvokeMenuItem(int menu_position) { - switch (menu_position) { - case 0: return REBOOT; - case 1: return REBOOT_BOOTLOADER; - case 2: return APPLY_ADB_SIDELOAD; - case 3: return APPLY_SDCARD; - case 4: return WIPE_DATA; - case 5: return WIPE_CACHE; - case 6: return MOUNT_SYSTEM; - case 7: return VIEW_RECOVERY_LOGS; - case 8: return RUN_GRAPHICS_TEST; - case 9: return SHUTDOWN; - default: return NO_ACTION; - } + return menu_position < 0 ? NO_ACTION : MENU_ACTIONS[menu_position]; } int Device::HandleMenuKey(int key, int visible) { -- cgit v1.2.3 From b08381861248ee9bb3c134fcb4371398fbef32b0 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Thu, 2 Jun 2016 11:16:50 -0700 Subject: recovery: Add support to brick a device. When recovery starts with --brick, it tries to brick the device by securely wiping all the partitions as listed in /etc/recovery.brick. This is designed to support bricking lost devices. Bug: 27253717 Change-Id: Ib0bd4f0a3bdaca4febc91fce6b682e3ec74354e2 (cherry picked from commit 862a4c11190d72851a72a2b97375ec2698078358) --- recovery.cpp | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 91 insertions(+), 1 deletion(-) diff --git a/recovery.cpp b/recovery.cpp index 6b6643fab..4688ca67a 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -19,7 +19,9 @@ #include #include #include +#include #include +#include #include #include #include @@ -33,12 +35,15 @@ #include #include +#include +#include #include #include /* Android Log Priority Tags */ #include #include #include +#include #include #include #include /* Android Log packet format */ @@ -58,6 +63,7 @@ #include "minzip/DirUtil.h" #include "roots.h" #include "ui.h" +#include "unique_fd.h" #include "screen_ui.h" struct selabel_handle *sehandle; @@ -77,6 +83,7 @@ static const struct option OPTIONS[] = { { "shutdown_after", no_argument, NULL, 'p' }, { "reason", required_argument, NULL, 'r' }, { "security", no_argument, NULL, 'e'}, + { "brick", no_argument, NULL, 0 }, { NULL, 0, NULL, 0 }, }; @@ -103,6 +110,7 @@ static const int BATTERY_READ_TIMEOUT_IN_SEC = 10; // So we should check battery with a slightly lower limitation. static const int BATTERY_OK_PERCENTAGE = 20; static const int BATTERY_WITH_CHARGER_OK_PERCENTAGE = 15; +constexpr const char* RECOVERY_BRICK = "/etc/recovery.brick"; RecoveryUI* ui = NULL; static const char* locale = "en_US"; @@ -853,6 +861,75 @@ static bool wipe_cache(bool should_confirm, Device* device) { return success; } +// Secure-wipe a given partition. It uses BLKSECDISCARD, if supported. +// Otherwise, it goes with BLKDISCARD (if device supports BLKDISCARDZEROES) or +// BLKZEROOUT. +static bool secure_wipe_partition(const std::string& partition) { + unique_fd fd(TEMP_FAILURE_RETRY(open(partition.c_str(), O_WRONLY))); + if (fd.get() == -1) { + LOGE("failed to open \"%s\": %s\n", partition.c_str(), strerror(errno)); + return false; + } + + uint64_t range[2] = {0, 0}; + if (ioctl(fd.get(), BLKGETSIZE64, &range[1]) == -1 || range[1] == 0) { + LOGE("failed to get partition size: %s\n", strerror(errno)); + return false; + } + printf("Secure-wiping \"%s\" from %" PRIu64 " to %" PRIu64 ".\n", + partition.c_str(), range[0], range[1]); + + printf("Trying BLKSECDISCARD...\t"); + if (ioctl(fd.get(), BLKSECDISCARD, &range) == -1) { + printf("failed: %s\n", strerror(errno)); + + // Use BLKDISCARD if it zeroes out blocks, otherwise use BLKZEROOUT. + unsigned int zeroes; + if (ioctl(fd.get(), BLKDISCARDZEROES, &zeroes) == 0 && zeroes != 0) { + printf("Trying BLKDISCARD...\t"); + if (ioctl(fd.get(), BLKDISCARD, &range) == -1) { + printf("failed: %s\n", strerror(errno)); + return false; + } + } else { + printf("Trying BLKZEROOUT...\t"); + if (ioctl(fd.get(), BLKZEROOUT, &range) == -1) { + printf("failed: %s\n", strerror(errno)); + return false; + } + } + } + + printf("done\n"); + return true; +} + +// Brick the current device, with a secure wipe of all the partitions in +// RECOVERY_BRICK. +static bool brick_device() { + ui->SetBackground(RecoveryUI::ERASING); + ui->SetProgressType(RecoveryUI::INDETERMINATE); + + std::string partition_list; + if (!android::base::ReadFileToString(RECOVERY_BRICK, &partition_list)) { + LOGE("failed to read \"%s\".\n", RECOVERY_BRICK); + return false; + } + + std::vector lines = android::base::Split(partition_list, "\n"); + for (const std::string& line : lines) { + std::string partition = android::base::Trim(line); + // Ignore '#' comment or empty lines. + if (android::base::StartsWith(partition, "#") || partition.empty()) { + continue; + } + + // Proceed anyway even if it fails to wipe some partition. + secure_wipe_partition(partition); + } + return true; +} + static void choose_recovery_file(Device* device) { if (!has_cache) { ui->Print("No /cache partition found.\n"); @@ -1340,6 +1417,7 @@ int main(int argc, char **argv) { const char *update_package = NULL; bool should_wipe_data = false; bool should_wipe_cache = false; + bool should_brick = false; bool show_text = false; bool sideload = false; bool sideload_auto_reboot = false; @@ -1349,7 +1427,8 @@ int main(int argc, char **argv) { bool security_update = false; int arg; - while ((arg = getopt_long(argc, argv, "", OPTIONS, NULL)) != -1) { + int option_index; + while ((arg = getopt_long(argc, argv, "", OPTIONS, &option_index)) != -1) { switch (arg) { case 'i': send_intent = optarg; break; case 'n': android::base::ParseInt(optarg, &retry_count, 0); break; @@ -1372,6 +1451,13 @@ int main(int argc, char **argv) { case 'p': shutdown_after = true; break; case 'r': reason = optarg; break; case 'e': security_update = true; break; + case 0: { + if (strcmp(OPTIONS[option_index].name, "brick") == 0) { + should_brick = true; + break; + } + break; + } case '?': LOGE("Invalid command argument\n"); continue; @@ -1510,6 +1596,10 @@ int main(int argc, char **argv) { if (!wipe_cache(false, device)) { status = INSTALL_ERROR; } + } else if (should_brick) { + if (!brick_device()) { + status = INSTALL_ERROR; + } } else if (sideload) { // 'adb reboot sideload' acts the same as user presses key combinations // to enter the sideload mode. When 'sideload-auto-reboot' is used, text -- cgit v1.2.3 From 108ab21b215ff3a775a08f6fbb773ddf266f65e8 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Fri, 10 Jun 2016 10:13:32 -0700 Subject: recovery: Track the name change for wipe_ab. Bug: 27253717 Change-Id: I6e63b2a80b7b2948c16e1b57dedc856d52456ac9 --- recovery.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/recovery.cpp b/recovery.cpp index 4688ca67a..65e1a7bba 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -83,7 +83,7 @@ static const struct option OPTIONS[] = { { "shutdown_after", no_argument, NULL, 'p' }, { "reason", required_argument, NULL, 'r' }, { "security", no_argument, NULL, 'e'}, - { "brick", no_argument, NULL, 0 }, + { "wipe_ab", no_argument, NULL, 0 }, { NULL, 0, NULL, 0 }, }; @@ -110,7 +110,7 @@ static const int BATTERY_READ_TIMEOUT_IN_SEC = 10; // So we should check battery with a slightly lower limitation. static const int BATTERY_OK_PERCENTAGE = 20; static const int BATTERY_WITH_CHARGER_OK_PERCENTAGE = 15; -constexpr const char* RECOVERY_BRICK = "/etc/recovery.brick"; +constexpr const char* RECOVERY_WIPE = "/etc/recovery.wipe"; RecoveryUI* ui = NULL; static const char* locale = "en_US"; @@ -904,15 +904,15 @@ static bool secure_wipe_partition(const std::string& partition) { return true; } -// Brick the current device, with a secure wipe of all the partitions in -// RECOVERY_BRICK. -static bool brick_device() { +// Wipe the current A/B device, with a secure wipe of all the partitions in +// RECOVERY_WIPE. +static bool wipe_ab_device() { ui->SetBackground(RecoveryUI::ERASING); ui->SetProgressType(RecoveryUI::INDETERMINATE); std::string partition_list; - if (!android::base::ReadFileToString(RECOVERY_BRICK, &partition_list)) { - LOGE("failed to read \"%s\".\n", RECOVERY_BRICK); + if (!android::base::ReadFileToString(RECOVERY_WIPE, &partition_list)) { + LOGE("failed to read \"%s\".\n", RECOVERY_WIPE); return false; } @@ -1417,7 +1417,7 @@ int main(int argc, char **argv) { const char *update_package = NULL; bool should_wipe_data = false; bool should_wipe_cache = false; - bool should_brick = false; + bool should_wipe_ab = false; bool show_text = false; bool sideload = false; bool sideload_auto_reboot = false; @@ -1452,8 +1452,8 @@ int main(int argc, char **argv) { case 'r': reason = optarg; break; case 'e': security_update = true; break; case 0: { - if (strcmp(OPTIONS[option_index].name, "brick") == 0) { - should_brick = true; + if (strcmp(OPTIONS[option_index].name, "wipe_ab") == 0) { + should_wipe_ab = true; break; } break; @@ -1596,8 +1596,8 @@ int main(int argc, char **argv) { if (!wipe_cache(false, device)) { status = INSTALL_ERROR; } - } else if (should_brick) { - if (!brick_device()) { + } else if (should_wipe_ab) { + if (!wipe_ab_device()) { status = INSTALL_ERROR; } } else if (sideload) { -- cgit v1.2.3 From 6faf0265c9b58db2c15b53f6d29025629d52f882 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Thu, 9 Jun 2016 14:09:39 -0700 Subject: Verify wipe package when wiping A/B device in recovery. To increase the security of wiping A/B devices, let uncrypt write wipe package in misc partition. Then recovery verifies the wipe package before wiping the device. Bug: 29159185 Change-Id: I186691bab1928d3dc036bc5542abd64a81bc2168 --- bootloader.cpp | 99 +++++++++++++++++------------ bootloader.h | 18 ++++++ install.cpp | 60 ++++++++++------- install.h | 17 +++-- recovery.cpp | 73 ++++++++++++++++++++- uncrypt/bootloader_message_writer.cpp | 20 +++++- uncrypt/include/bootloader_message_writer.h | 1 + uncrypt/uncrypt.cpp | 19 +++++- 8 files changed, 231 insertions(+), 76 deletions(-) diff --git a/bootloader.cpp b/bootloader.cpp index d80c5e793..f6c0e9341 100644 --- a/bootloader.cpp +++ b/bootloader.cpp @@ -25,6 +25,8 @@ #include +#include + #include "bootloader.h" #include "common.h" #include "mtdutils/mtdutils.h" @@ -33,8 +35,8 @@ static int get_bootloader_message_mtd(bootloader_message* out, const Volume* v); static int set_bootloader_message_mtd(const bootloader_message* in, const Volume* v); -static int get_bootloader_message_block(bootloader_message* out, const Volume* v); -static int set_bootloader_message_block(const bootloader_message* in, const Volume* v); +static bool read_misc_partition(const Volume* v, size_t offset, size_t size, std::string* out); +static bool write_misc_partition(const Volume* v, size_t offset, const std::string& in); int get_bootloader_message(bootloader_message* out) { Volume* v = volume_for_path("/misc"); @@ -45,12 +47,34 @@ int get_bootloader_message(bootloader_message* out) { if (strcmp(v->fs_type, "mtd") == 0) { return get_bootloader_message_mtd(out, v); } else if (strcmp(v->fs_type, "emmc") == 0) { - return get_bootloader_message_block(out, v); + std::string s; + if (!read_misc_partition(v, BOOTLOADER_MESSAGE_OFFSET_IN_MISC, sizeof(bootloader_message), + &s)) { + return -1; + } + memcpy(out, s.data(), s.size()); + return 0; } - LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type); + LOGE("Unknown misc partition fs_type \"%s\"\n", v->fs_type); return -1; } +bool read_wipe_package(size_t size, std::string* out) { + Volume* v = volume_for_path("/misc"); + if (v == nullptr) { + LOGE("Cannot load volume /misc!\n"); + return false; + } + if (strcmp(v->fs_type, "mtd") == 0) { + LOGE("Read wipe package on mtd is not supported.\n"); + return false; + } else if (strcmp(v->fs_type, "emmc") == 0) { + return read_misc_partition(v, WIPE_PACKAGE_OFFSET_IN_MISC, size, out); + } + LOGE("Unknown misc partition fs_type \"%s\"\n", v->fs_type); + return false; +} + int set_bootloader_message(const bootloader_message* in) { Volume* v = volume_for_path("/misc"); if (v == nullptr) { @@ -60,9 +84,11 @@ int set_bootloader_message(const bootloader_message* in) { if (strcmp(v->fs_type, "mtd") == 0) { return set_bootloader_message_mtd(in, v); } else if (strcmp(v->fs_type, "emmc") == 0) { - return set_bootloader_message_block(in, v); + std::string s(reinterpret_cast(in), sizeof(*in)); + bool success = write_misc_partition(v, BOOTLOADER_MESSAGE_OFFSET_IN_MISC, s); + return success ? 0 : -1; } - LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type); + LOGE("Unknown misc partition fs_type \"%s\"\n", v->fs_type); return -1; } @@ -166,53 +192,44 @@ static void wait_for_device(const char* fn) { } } -static int get_bootloader_message_block(bootloader_message* out, - const Volume* v) { +static bool read_misc_partition(const Volume* v, size_t offset, size_t size, std::string* out) { wait_for_device(v->blk_device); - FILE* f = fopen(v->blk_device, "rb"); - if (f == nullptr) { - LOGE("failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; + unique_fd fd(open(v->blk_device, O_RDONLY)); + if (fd.get() == -1) { + LOGE("Failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; } - bootloader_message temp; - int count = fread(&temp, sizeof(temp), 1, f); - if (count != 1) { - LOGE("failed to read \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; + if (lseek(fd.get(), static_cast(offset), SEEK_SET) != static_cast(offset)) { + LOGE("Failed to lseek \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; } - if (fclose(f) != 0) { - LOGE("failed to close \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; + out->resize(size); + if (!android::base::ReadFully(fd.get(), &(*out)[0], size)) { + LOGE("Failed to read \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; } - memcpy(out, &temp, sizeof(temp)); - return 0; + return true; } -static int set_bootloader_message_block(const bootloader_message* in, - const Volume* v) { +static bool write_misc_partition(const Volume* v, size_t offset, const std::string& in) { wait_for_device(v->blk_device); unique_fd fd(open(v->blk_device, O_WRONLY | O_SYNC)); if (fd.get() == -1) { - LOGE("failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; + LOGE("Failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; } - - size_t written = 0; - const uint8_t* start = reinterpret_cast(in); - size_t total = sizeof(*in); - while (written < total) { - ssize_t wrote = TEMP_FAILURE_RETRY(write(fd.get(), start + written, total - written)); - if (wrote == -1) { - LOGE("failed to write %" PRId64 " bytes: %s\n", - static_cast(written), strerror(errno)); - return -1; - } - written += wrote; + if (lseek(fd.get(), static_cast(offset), SEEK_SET) != static_cast(offset)) { + LOGE("Failed to lseek \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; + } + if (!android::base::WriteFully(fd.get(), in.data(), in.size())) { + LOGE("Failed to write \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; } if (fsync(fd.get()) == -1) { - LOGE("failed to fsync \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; + LOGE("Failed to fsync \"%s\": %s\n", v->blk_device, strerror(errno)); + return false; } - return 0; + return true; } diff --git a/bootloader.h b/bootloader.h index 742a4abfb..88d54a5cb 100644 --- a/bootloader.h +++ b/bootloader.h @@ -17,6 +17,17 @@ #ifndef _RECOVERY_BOOTLOADER_H #define _RECOVERY_BOOTLOADER_H +#include + +// Spaces used by misc partition are as below: +// 0 - 2K Bootloader Message +// 2K - 16K Used by Vendor's bootloader +// 16K - 64K Used by uncrypt and recovery to store wipe_package for A/B devices +// Note that these offsets are admitted by bootloader,recovery and uncrypt, so they +// are not configurable without changing all of them. +static const size_t BOOTLOADER_MESSAGE_OFFSET_IN_MISC = 0; +static const size_t WIPE_PACKAGE_OFFSET_IN_MISC = 16 * 1024; + /* Bootloader Message * * This structure describes the content of a block in flash @@ -68,4 +79,11 @@ struct bootloader_message { int get_bootloader_message(struct bootloader_message *out); int set_bootloader_message(const struct bootloader_message *in); +#ifdef __cplusplus + +#include + +bool read_wipe_package(size_t size, std::string* out); +#endif + #endif diff --git a/install.cpp b/install.cpp index 5a439a1d6..518337fef 100644 --- a/install.cpp +++ b/install.cpp @@ -70,20 +70,27 @@ static int parse_build_number(std::string str) { return -1; } -// Read the build.version.incremental of src/tgt from the metadata and log it to last_install. -static void read_source_target_build(ZipArchive* zip, std::vector& log_buffer) { +bool read_metadata_from_package(ZipArchive* zip, std::string* meta_data) { const ZipEntry* meta_entry = mzFindZipEntry(zip, METADATA_PATH); if (meta_entry == nullptr) { LOGE("Failed to find %s in update package.\n", METADATA_PATH); - return; + return false; } - std::string meta_data(meta_entry->uncompLen, '\0'); - if (!mzReadZipEntry(zip, meta_entry, &meta_data[0], meta_entry->uncompLen)) { + meta_data->resize(meta_entry->uncompLen, '\0'); + if (!mzReadZipEntry(zip, meta_entry, &(*meta_data)[0], meta_entry->uncompLen)) { LOGE("Failed to read metadata in update package.\n"); - return; + return false; } + return true; +} +// Read the build.version.incremental of src/tgt from the metadata and log it to last_install. +static void read_source_target_build(ZipArchive* zip, std::vector& log_buffer) { + std::string meta_data; + if (!read_metadata_from_package(zip, &meta_data)) { + return; + } // Examples of the pre-build and post-build strings in metadata: // pre-build-incremental=2943039 // post-build-incremental=2951741 @@ -300,31 +307,16 @@ really_install_package(const char *path, bool* wipe_cache, bool needs_mount, return INSTALL_CORRUPT; } - // Load keys. - std::vector loadedKeys; - if (!load_keys(PUBLIC_KEYS_FILE, loadedKeys)) { - LOGE("Failed to load keys\n"); - return INSTALL_CORRUPT; - } - LOGI("%zu key(s) loaded from %s\n", loadedKeys.size(), PUBLIC_KEYS_FILE); - // Verify package. - ui->Print("Verifying update package...\n"); - auto t0 = std::chrono::system_clock::now(); - int err = verify_file(map.addr, map.length, loadedKeys); - std::chrono::duration duration = std::chrono::system_clock::now() - t0; - ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err); - if (err != VERIFY_SUCCESS) { - LOGE("signature verification failed\n"); + if (!verify_package(map.addr, map.length)) { log_buffer.push_back(android::base::StringPrintf("error: %d", kZipVerificationFailure)); - sysReleaseMap(&map); return INSTALL_CORRUPT; } // Try to open the package. ZipArchive zip; - err = mzOpenZipArchive(map.addr, map.length, &zip); + int err = mzOpenZipArchive(map.addr, map.length, &zip); if (err != 0) { LOGE("Can't open %s\n(%s)\n", path, err != -1 ? strerror(err) : "bad"); log_buffer.push_back(android::base::StringPrintf("error: %d", kZipOpenFailure)); @@ -387,3 +379,25 @@ install_package(const char* path, bool* wipe_cache, const char* install_file, } return result; } + +bool verify_package(const unsigned char* package_data, size_t package_size) { + std::vector loadedKeys; + if (!load_keys(PUBLIC_KEYS_FILE, loadedKeys)) { + LOGE("Failed to load keys\n"); + return false; + } + LOGI("%zu key(s) loaded from %s\n", loadedKeys.size(), PUBLIC_KEYS_FILE); + + // Verify package. + ui->Print("Verifying update package...\n"); + auto t0 = std::chrono::system_clock::now(); + int err = verify_file(const_cast(package_data), package_size, loadedKeys); + std::chrono::duration duration = std::chrono::system_clock::now() - t0; + ui->Print("Update package verification took %.1f s (result %d).\n", duration.count(), err); + if (err != VERIFY_SUCCESS) { + LOGE("Signature verification failed\n"); + LOGE("error: %d\n", kZipVerificationFailure); + return false; + } + return true; +} diff --git a/install.h b/install.h index 66764f542..14de22556 100644 --- a/install.h +++ b/install.h @@ -17,11 +17,10 @@ #ifndef RECOVERY_INSTALL_H_ #define RECOVERY_INSTALL_H_ -#include "common.h" +#include -#ifdef __cplusplus -extern "C" { -#endif +#include "common.h" +#include "minzip/Zip.h" enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SKIPPED, INSTALL_RETRY }; @@ -31,8 +30,12 @@ enum { INSTALL_SUCCESS, INSTALL_ERROR, INSTALL_CORRUPT, INSTALL_NONE, INSTALL_SK int install_package(const char* root_path, bool* wipe_cache, const char* install_file, bool needs_mount, int retry_count); -#ifdef __cplusplus -} -#endif +// Verify the package by ota keys. Return true if the package is verified successfully, +// otherwise return false. +bool verify_package(const unsigned char* package_data, size_t package_size); + +// Read meta data file of the package, write its content in the string pointed by meta_data. +// Return true if succeed, otherwise return false. +bool read_metadata_from_package(ZipArchive* zip, std::string* meta_data); #endif // RECOVERY_INSTALL_H_ diff --git a/recovery.cpp b/recovery.cpp index 65e1a7bba..6df9b6fae 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -61,6 +61,7 @@ #include "install.h" #include "minui/minui.h" #include "minzip/DirUtil.h" +#include "minzip/Zip.h" #include "roots.h" #include "ui.h" #include "unique_fd.h" @@ -84,6 +85,7 @@ static const struct option OPTIONS[] = { { "reason", required_argument, NULL, 'r' }, { "security", no_argument, NULL, 'e'}, { "wipe_ab", no_argument, NULL, 0 }, + { "wipe_package_size", required_argument, NULL, 0 }, { NULL, 0, NULL, 0 }, }; @@ -904,12 +906,75 @@ static bool secure_wipe_partition(const std::string& partition) { return true; } +// Check if the wipe package matches expectation: +// 1. verify the package. +// 2. check metadata (ota-type, pre-device and serial number if having one). +static bool check_wipe_package(size_t wipe_package_size) { + if (wipe_package_size == 0) { + LOGE("wipe_package_size is zero.\n"); + return false; + } + std::string wipe_package; + if (!read_wipe_package(wipe_package_size, &wipe_package)) { + LOGE("Failed to read wipe package.\n"); + return false; + } + if (!verify_package(reinterpret_cast(wipe_package.data()), + wipe_package.size())) { + LOGE("Failed to verify package.\n"); + return false; + } + + // Extract metadata + ZipArchive zip; + int err = mzOpenZipArchive(reinterpret_cast(&wipe_package[0]), + wipe_package.size(), &zip); + if (err != 0) { + LOGE("Can't open wipe package: %s\n", err != -1 ? strerror(err) : "bad"); + return false; + } + std::string metadata; + if (!read_metadata_from_package(&zip, &metadata)) { + mzCloseZipArchive(&zip); + return false; + } + mzCloseZipArchive(&zip); + + // Check metadata + std::vector lines = android::base::Split(metadata, "\n"); + bool ota_type_matched = false; + bool device_type_matched = false; + bool has_serial_number = false; + bool serial_number_matched = false; + for (const auto& line : lines) { + if (line == "ota-type=BRICK") { + ota_type_matched = true; + } else if (android::base::StartsWith(line, "pre-device=")) { + std::string device_type = line.substr(strlen("pre-device=")); + char real_device_type[PROPERTY_VALUE_MAX]; + property_get("ro.build.product", real_device_type, ""); + device_type_matched = (device_type == real_device_type); + } else if (android::base::StartsWith(line, "serialno=")) { + std::string serial_no = line.substr(strlen("serialno=")); + char real_serial_no[PROPERTY_VALUE_MAX]; + property_get("ro.serialno", real_serial_no, ""); + has_serial_number = true; + serial_number_matched = (serial_no == real_serial_no); + } + } + return ota_type_matched && device_type_matched && (!has_serial_number || serial_number_matched); +} + // Wipe the current A/B device, with a secure wipe of all the partitions in // RECOVERY_WIPE. -static bool wipe_ab_device() { +static bool wipe_ab_device(size_t wipe_package_size) { ui->SetBackground(RecoveryUI::ERASING); ui->SetProgressType(RecoveryUI::INDETERMINATE); + if (!check_wipe_package(wipe_package_size)) { + LOGE("Failed to verify wipe package\n"); + return false; + } std::string partition_list; if (!android::base::ReadFileToString(RECOVERY_WIPE, &partition_list)) { LOGE("failed to read \"%s\".\n", RECOVERY_WIPE); @@ -1418,6 +1483,7 @@ int main(int argc, char **argv) { bool should_wipe_data = false; bool should_wipe_cache = false; bool should_wipe_ab = false; + size_t wipe_package_size = 0; bool show_text = false; bool sideload = false; bool sideload_auto_reboot = false; @@ -1455,6 +1521,9 @@ int main(int argc, char **argv) { if (strcmp(OPTIONS[option_index].name, "wipe_ab") == 0) { should_wipe_ab = true; break; + } else if (strcmp(OPTIONS[option_index].name, "wipe_package_size") == 0) { + android::base::ParseUint(optarg, &wipe_package_size); + break; } break; } @@ -1597,7 +1666,7 @@ int main(int argc, char **argv) { status = INSTALL_ERROR; } } else if (should_wipe_ab) { - if (!wipe_ab_device()) { + if (!wipe_ab_device(wipe_package_size)) { status = INSTALL_ERROR; } } else if (sideload) { diff --git a/uncrypt/bootloader_message_writer.cpp b/uncrypt/bootloader_message_writer.cpp index 3bb106aa0..42df31efa 100644 --- a/uncrypt/bootloader_message_writer.cpp +++ b/uncrypt/bootloader_message_writer.cpp @@ -58,7 +58,7 @@ static std::string get_misc_blk_device(std::string* err) { return record->blk_device; } -static bool write_bootloader_message(const bootloader_message& boot, std::string* err) { +static bool write_misc_partition(const void* p, size_t size, size_t misc_offset, std::string* err) { std::string misc_blk_device = get_misc_blk_device(err); if (misc_blk_device.empty()) { return false; @@ -69,11 +69,18 @@ static bool write_bootloader_message(const bootloader_message& boot, std::string strerror(errno)); return false; } - if (!android::base::WriteFully(fd.get(), &boot, sizeof(boot))) { + if (lseek(fd.get(), static_cast(misc_offset), SEEK_SET) != + static_cast(misc_offset)) { + *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + if (!android::base::WriteFully(fd.get(), p, size)) { *err = android::base::StringPrintf("failed to write %s: %s", misc_blk_device.c_str(), strerror(errno)); return false; } + // TODO: O_SYNC and fsync duplicates each other? if (fsync(fd.get()) == -1) { *err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str(), @@ -83,6 +90,10 @@ static bool write_bootloader_message(const bootloader_message& boot, std::string return true; } +static bool write_bootloader_message(const bootloader_message& boot, std::string* err) { + return write_misc_partition(&boot, sizeof(boot), BOOTLOADER_MESSAGE_OFFSET_IN_MISC, err); +} + bool clear_bootloader_message(std::string* err) { bootloader_message boot = {}; return write_bootloader_message(boot, err); @@ -101,6 +112,11 @@ bool write_bootloader_message(const std::vector& options, std::stri return write_bootloader_message(boot, err); } +bool write_wipe_package(const std::string& package_data, std::string* err) { + return write_misc_partition(package_data.data(), package_data.size(), + WIPE_PACKAGE_OFFSET_IN_MISC, err); +} + extern "C" bool write_bootloader_message(const char* options) { std::string err; return write_bootloader_message({options}, &err); diff --git a/uncrypt/include/bootloader_message_writer.h b/uncrypt/include/bootloader_message_writer.h index e0ca3f44a..1344bc835 100644 --- a/uncrypt/include/bootloader_message_writer.h +++ b/uncrypt/include/bootloader_message_writer.h @@ -24,6 +24,7 @@ bool clear_bootloader_message(std::string* err); bool write_bootloader_message(const std::vector& options, std::string* err); +bool write_wipe_package(const std::string& package_data, std::string* err); #else #include diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp index d7105a01f..f62d13279 100644 --- a/uncrypt/uncrypt.cpp +++ b/uncrypt/uncrypt.cpp @@ -503,14 +503,31 @@ static bool setup_bcb(const int socket) { return false; } ALOGI(" received command: [%s] (%zu)", content.c_str(), content.size()); + std::vector options = android::base::Split(content, "\n"); + std::string wipe_package; + for (auto& option : options) { + if (android::base::StartsWith(option, "--wipe_package=")) { + std::string path = option.substr(strlen("--wipe_package=")); + if (!android::base::ReadFileToString(path, &wipe_package)) { + ALOGE("failed to read %s: %s", path.c_str(), strerror(errno)); + return false; + } + option = android::base::StringPrintf("--wipe_package_size=%zu", wipe_package.size()); + } + } // c8. setup the bcb command std::string err; - if (!write_bootloader_message({content}, &err)) { + if (!write_bootloader_message(options, &err)) { ALOGE("failed to set bootloader message: %s", err.c_str()); write_status_to_socket(-1, socket); return false; } + if (!wipe_package.empty() && !write_wipe_package(wipe_package, &err)) { + ALOGE("failed to set wipe package: %s", err.c_str()); + write_status_to_socket(-1, socket); + return false; + } // c10. send "100" status write_status_to_socket(100, socket); return true; -- cgit v1.2.3 From 2f272c0551f984e83bc5abaf240e0dddb38a3326 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Fri, 24 Jun 2016 18:22:02 -0700 Subject: Create bootloader_message static library. bootloader_messages merges bootloader_message_writer and bootloader.cpp, so we can use the same library to manage bootloader_message in normal boot and recovery mode. Bug: 29582118 Change-Id: I9efdf776ef8f02b53911ff43a518e035e0c29618 --- Android.mk | 12 +- bootloader.cpp | 235 --------------------- bootloader.h | 75 +------ bootloader_message/Android.mk | 24 +++ bootloader_message/bootloader_message.cpp | 181 ++++++++++++++++ .../bootloader_message/bootloader_message.h | 99 +++++++++ recovery.cpp | 44 ++-- uncrypt/Android.mk | 11 +- uncrypt/bootloader_message_writer.cpp | 123 ----------- uncrypt/include/bootloader_message_writer.h | 36 ---- uncrypt/uncrypt.cpp | 2 +- 11 files changed, 344 insertions(+), 498 deletions(-) delete mode 100644 bootloader.cpp create mode 100644 bootloader_message/Android.mk create mode 100644 bootloader_message/bootloader_message.cpp create mode 100644 bootloader_message/include/bootloader_message/bootloader_message.h delete mode 100644 uncrypt/bootloader_message_writer.cpp delete mode 100644 uncrypt/include/bootloader_message_writer.h diff --git a/Android.mk b/Android.mk index 9a064f236..589bff41f 100644 --- a/Android.mk +++ b/Android.mk @@ -31,7 +31,6 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ adb_install.cpp \ asn1_decoder.cpp \ - bootloader.cpp \ device.cpp \ fuse_sdcard_provider.cpp \ install.cpp \ @@ -66,6 +65,7 @@ LOCAL_C_INCLUDES += \ LOCAL_STATIC_LIBRARIES := \ libbatterymonitor \ + libbootloader_message \ libext4_utils_static \ libsparse_static \ libminzip \ @@ -143,15 +143,17 @@ LOCAL_SRC_FILES := \ LOCAL_STATIC_LIBRARIES := libcrypto_static include $(BUILD_STATIC_LIBRARY) -include $(LOCAL_PATH)/minui/Android.mk \ +include \ + $(LOCAL_PATH)/applypatch/Android.mk \ + $(LOCAL_PATH)/bootloader_message/Android.mk \ + $(LOCAL_PATH)/edify/Android.mk \ + $(LOCAL_PATH)/minui/Android.mk \ $(LOCAL_PATH)/minzip/Android.mk \ $(LOCAL_PATH)/minadbd/Android.mk \ $(LOCAL_PATH)/mtdutils/Android.mk \ + $(LOCAL_PATH)/otafault/Android.mk \ $(LOCAL_PATH)/tests/Android.mk \ $(LOCAL_PATH)/tools/Android.mk \ - $(LOCAL_PATH)/edify/Android.mk \ $(LOCAL_PATH)/uncrypt/Android.mk \ - $(LOCAL_PATH)/otafault/Android.mk \ $(LOCAL_PATH)/updater/Android.mk \ $(LOCAL_PATH)/update_verifier/Android.mk \ - $(LOCAL_PATH)/applypatch/Android.mk diff --git a/bootloader.cpp b/bootloader.cpp deleted file mode 100644 index f6c0e9341..000000000 --- a/bootloader.cpp +++ /dev/null @@ -1,235 +0,0 @@ -/* - * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include - -#include "bootloader.h" -#include "common.h" -#include "mtdutils/mtdutils.h" -#include "roots.h" -#include "unique_fd.h" - -static int get_bootloader_message_mtd(bootloader_message* out, const Volume* v); -static int set_bootloader_message_mtd(const bootloader_message* in, const Volume* v); -static bool read_misc_partition(const Volume* v, size_t offset, size_t size, std::string* out); -static bool write_misc_partition(const Volume* v, size_t offset, const std::string& in); - -int get_bootloader_message(bootloader_message* out) { - Volume* v = volume_for_path("/misc"); - if (v == nullptr) { - LOGE("Cannot load volume /misc!\n"); - return -1; - } - if (strcmp(v->fs_type, "mtd") == 0) { - return get_bootloader_message_mtd(out, v); - } else if (strcmp(v->fs_type, "emmc") == 0) { - std::string s; - if (!read_misc_partition(v, BOOTLOADER_MESSAGE_OFFSET_IN_MISC, sizeof(bootloader_message), - &s)) { - return -1; - } - memcpy(out, s.data(), s.size()); - return 0; - } - LOGE("Unknown misc partition fs_type \"%s\"\n", v->fs_type); - return -1; -} - -bool read_wipe_package(size_t size, std::string* out) { - Volume* v = volume_for_path("/misc"); - if (v == nullptr) { - LOGE("Cannot load volume /misc!\n"); - return false; - } - if (strcmp(v->fs_type, "mtd") == 0) { - LOGE("Read wipe package on mtd is not supported.\n"); - return false; - } else if (strcmp(v->fs_type, "emmc") == 0) { - return read_misc_partition(v, WIPE_PACKAGE_OFFSET_IN_MISC, size, out); - } - LOGE("Unknown misc partition fs_type \"%s\"\n", v->fs_type); - return false; -} - -int set_bootloader_message(const bootloader_message* in) { - Volume* v = volume_for_path("/misc"); - if (v == nullptr) { - LOGE("Cannot load volume /misc!\n"); - return -1; - } - if (strcmp(v->fs_type, "mtd") == 0) { - return set_bootloader_message_mtd(in, v); - } else if (strcmp(v->fs_type, "emmc") == 0) { - std::string s(reinterpret_cast(in), sizeof(*in)); - bool success = write_misc_partition(v, BOOTLOADER_MESSAGE_OFFSET_IN_MISC, s); - return success ? 0 : -1; - } - LOGE("Unknown misc partition fs_type \"%s\"\n", v->fs_type); - return -1; -} - -// ------------------------------ -// for misc partitions on MTD -// ------------------------------ - -static const int MISC_PAGES = 3; // number of pages to save -static const int MISC_COMMAND_PAGE = 1; // bootloader command is this page - -static int get_bootloader_message_mtd(bootloader_message* out, - const Volume* v) { - size_t write_size; - mtd_scan_partitions(); - const MtdPartition* part = mtd_find_partition_by_name(v->blk_device); - if (part == nullptr || mtd_partition_info(part, nullptr, nullptr, &write_size)) { - LOGE("failed to find \"%s\"\n", v->blk_device); - return -1; - } - - MtdReadContext* read = mtd_read_partition(part); - if (read == nullptr) { - LOGE("failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; - } - - const ssize_t size = write_size * MISC_PAGES; - char data[size]; - ssize_t r = mtd_read_data(read, data, size); - if (r != size) LOGE("failed to read \"%s\": %s\n", v->blk_device, strerror(errno)); - mtd_read_close(read); - if (r != size) return -1; - - memcpy(out, &data[write_size * MISC_COMMAND_PAGE], sizeof(*out)); - return 0; -} -static int set_bootloader_message_mtd(const bootloader_message* in, - const Volume* v) { - size_t write_size; - mtd_scan_partitions(); - const MtdPartition* part = mtd_find_partition_by_name(v->blk_device); - if (part == nullptr || mtd_partition_info(part, nullptr, nullptr, &write_size)) { - LOGE("failed to find \"%s\"\n", v->blk_device); - return -1; - } - - MtdReadContext* read = mtd_read_partition(part); - if (read == nullptr) { - LOGE("failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; - } - - ssize_t size = write_size * MISC_PAGES; - char data[size]; - ssize_t r = mtd_read_data(read, data, size); - if (r != size) LOGE("failed to read \"%s\": %s\n", v->blk_device, strerror(errno)); - mtd_read_close(read); - if (r != size) return -1; - - memcpy(&data[write_size * MISC_COMMAND_PAGE], in, sizeof(*in)); - - MtdWriteContext* write = mtd_write_partition(part); - if (write == nullptr) { - LOGE("failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; - } - if (mtd_write_data(write, data, size) != size) { - LOGE("failed to write \"%s\": %s\n", v->blk_device, strerror(errno)); - mtd_write_close(write); - return -1; - } - if (mtd_write_close(write)) { - LOGE("failed to finish \"%s\": %s\n", v->blk_device, strerror(errno)); - return -1; - } - - LOGI("Set boot command \"%s\"\n", in->command[0] != 255 ? in->command : ""); - return 0; -} - - -// ------------------------------------ -// for misc partitions on block devices -// ------------------------------------ - -static void wait_for_device(const char* fn) { - int tries = 0; - int ret; - do { - ++tries; - struct stat buf; - ret = stat(fn, &buf); - if (ret == -1) { - printf("failed to stat \"%s\" try %d: %s\n", fn, tries, strerror(errno)); - sleep(1); - } - } while (ret && tries < 10); - - if (ret) { - printf("failed to stat \"%s\"\n", fn); - } -} - -static bool read_misc_partition(const Volume* v, size_t offset, size_t size, std::string* out) { - wait_for_device(v->blk_device); - unique_fd fd(open(v->blk_device, O_RDONLY)); - if (fd.get() == -1) { - LOGE("Failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - if (lseek(fd.get(), static_cast(offset), SEEK_SET) != static_cast(offset)) { - LOGE("Failed to lseek \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - out->resize(size); - if (!android::base::ReadFully(fd.get(), &(*out)[0], size)) { - LOGE("Failed to read \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - return true; -} - -static bool write_misc_partition(const Volume* v, size_t offset, const std::string& in) { - wait_for_device(v->blk_device); - unique_fd fd(open(v->blk_device, O_WRONLY | O_SYNC)); - if (fd.get() == -1) { - LOGE("Failed to open \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - if (lseek(fd.get(), static_cast(offset), SEEK_SET) != static_cast(offset)) { - LOGE("Failed to lseek \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - if (!android::base::WriteFully(fd.get(), in.data(), in.size())) { - LOGE("Failed to write \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - - if (fsync(fd.get()) == -1) { - LOGE("Failed to fsync \"%s\": %s\n", v->blk_device, strerror(errno)); - return false; - } - return true; -} diff --git a/bootloader.h b/bootloader.h index 88d54a5cb..9c84a1cf9 100644 --- a/bootloader.h +++ b/bootloader.h @@ -14,76 +14,5 @@ * limitations under the License. */ -#ifndef _RECOVERY_BOOTLOADER_H -#define _RECOVERY_BOOTLOADER_H - -#include - -// Spaces used by misc partition are as below: -// 0 - 2K Bootloader Message -// 2K - 16K Used by Vendor's bootloader -// 16K - 64K Used by uncrypt and recovery to store wipe_package for A/B devices -// Note that these offsets are admitted by bootloader,recovery and uncrypt, so they -// are not configurable without changing all of them. -static const size_t BOOTLOADER_MESSAGE_OFFSET_IN_MISC = 0; -static const size_t WIPE_PACKAGE_OFFSET_IN_MISC = 16 * 1024; - -/* Bootloader Message - * - * This structure describes the content of a block in flash - * that is used for recovery and the bootloader to talk to - * each other. - * - * The command field is updated by linux when it wants to - * reboot into recovery or to update radio or bootloader firmware. - * It is also updated by the bootloader when firmware update - * is complete (to boot into recovery for any final cleanup) - * - * The status field is written by the bootloader after the - * completion of an "update-radio" or "update-hboot" command. - * - * The recovery field is only written by linux and used - * for the system to send a message to recovery or the - * other way around. - * - * The stage field is written by packages which restart themselves - * multiple times, so that the UI can reflect which invocation of the - * package it is. If the value is of the format "#/#" (eg, "1/3"), - * the UI will add a simple indicator of that status. - * - * The slot_suffix field is used for A/B implementations where the - * bootloader does not set the androidboot.ro.boot.slot_suffix kernel - * commandline parameter. This is used by fs_mgr to mount /system and - * other partitions with the slotselect flag set in fstab. A/B - * implementations are free to use all 32 bytes and may store private - * data past the first NUL-byte in this field. - */ -struct bootloader_message { - char command[32]; - char status[32]; - char recovery[768]; - - // The 'recovery' field used to be 1024 bytes. It has only ever - // been used to store the recovery command line, so 768 bytes - // should be plenty. We carve off the last 256 bytes to store the - // stage string (for multistage packages) and possible future - // expansion. - char stage[32]; - char slot_suffix[32]; - char reserved[192]; -}; - -/* Read and write the bootloader command from the "misc" partition. - * These return zero on success. - */ -int get_bootloader_message(struct bootloader_message *out); -int set_bootloader_message(const struct bootloader_message *in); - -#ifdef __cplusplus - -#include - -bool read_wipe_package(size_t size, std::string* out); -#endif - -#endif +// TODO: Remove this file once we remove all places that include this file. +#include "bootloader_message/include/bootloader_message/bootloader_message.h" diff --git a/bootloader_message/Android.mk b/bootloader_message/Android.mk new file mode 100644 index 000000000..815ac67d7 --- /dev/null +++ b/bootloader_message/Android.mk @@ -0,0 +1,24 @@ +# Copyright (C) 2016 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +LOCAL_PATH := $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_CLANG := true +LOCAL_SRC_FILES := bootloader_message.cpp +LOCAL_MODULE := libbootloader_message +LOCAL_STATIC_LIBRARIES := libbase libfs_mgr +LOCAL_C_INCLUDES := $(LOCAL_PATH)/include +LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include +include $(BUILD_STATIC_LIBRARY) diff --git a/bootloader_message/bootloader_message.cpp b/bootloader_message/bootloader_message.cpp new file mode 100644 index 000000000..e7195ae9d --- /dev/null +++ b/bootloader_message/bootloader_message.cpp @@ -0,0 +1,181 @@ +/* + * Copyright (C) 2016 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +#include +#include +#include +#include + +#include +#include + +#include +#include +#include +#include + +static struct fstab* read_fstab(std::string* err) { + // The fstab path is always "/fstab.${ro.hardware}". + std::string fstab_path = "/fstab."; + char value[PROP_VALUE_MAX]; + if (__system_property_get("ro.hardware", value) == 0) { + *err = "failed to get ro.hardware"; + return nullptr; + } + fstab_path += value; + struct fstab* fstab = fs_mgr_read_fstab(fstab_path.c_str()); + if (fstab == nullptr) { + *err = "failed to read " + fstab_path; + } + return fstab; +} + +static std::string get_misc_blk_device(std::string* err) { + struct fstab* fstab = read_fstab(err); + if (fstab == nullptr) { + return ""; + } + fstab_rec* record = fs_mgr_get_entry_for_mount_point(fstab, "/misc"); + if (record == nullptr) { + *err = "failed to find /misc partition"; + return ""; + } + return record->blk_device; +} + +// In recovery mode, recovery can get started and try to access the misc +// device before the kernel has actually created it. +static bool wait_for_device(const std::string& blk_device, std::string* err) { + int tries = 0; + int ret; + err->clear(); + do { + ++tries; + struct stat buf; + ret = stat(blk_device.c_str(), &buf); + if (ret == -1) { + *err += android::base::StringPrintf("failed to stat %s try %d: %s\n", + blk_device.c_str(), tries, strerror(errno)); + sleep(1); + } + } while (ret && tries < 10); + + if (ret) { + *err += android::base::StringPrintf("failed to stat %s\n", blk_device.c_str()); + } + return ret == 0; +} + +static bool read_misc_partition(void* p, size_t size, size_t offset, std::string* err) { + std::string misc_blk_device = get_misc_blk_device(err); + if (misc_blk_device.empty()) { + return false; + } + if (!wait_for_device(misc_blk_device, err)) { + return false; + } + android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC)); + if (fd.get() == -1) { + *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + if (lseek(fd.get(), static_cast(offset), SEEK_SET) != static_cast(offset)) { + *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + if (!android::base::ReadFully(fd.get(), p, size)) { + *err = android::base::StringPrintf("failed to read %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + return true; +} + +static bool write_misc_partition(const void* p, size_t size, size_t offset, std::string* err) { + std::string misc_blk_device = get_misc_blk_device(err); + if (misc_blk_device.empty()) { + return false; + } + android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC)); + if (fd.get() == -1) { + *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + if (lseek(fd.get(), static_cast(offset), SEEK_SET) != static_cast(offset)) { + *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + if (!android::base::WriteFully(fd.get(), p, size)) { + *err = android::base::StringPrintf("failed to write %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + + // TODO: O_SYNC and fsync duplicates each other? + if (fsync(fd.get()) == -1) { + *err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str(), + strerror(errno)); + return false; + } + return true; +} + +bool read_bootloader_message(bootloader_message* boot, std::string* err) { + return read_misc_partition(boot, sizeof(*boot), BOOTLOADER_MESSAGE_OFFSET_IN_MISC, err); +} + +bool write_bootloader_message(const bootloader_message& boot, std::string* err) { + return write_misc_partition(&boot, sizeof(boot), BOOTLOADER_MESSAGE_OFFSET_IN_MISC, err); +} + +bool clear_bootloader_message(std::string* err) { + bootloader_message boot = {}; + return write_bootloader_message(boot, err); +} + +bool write_bootloader_message(const std::vector& options, std::string* err) { + bootloader_message boot = {}; + strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); + strlcpy(boot.recovery, "recovery\n", sizeof(boot.recovery)); + for (const auto& s : options) { + strlcat(boot.recovery, s.c_str(), sizeof(boot.recovery)); + if (s.back() != '\n') { + strlcat(boot.recovery, "\n", sizeof(boot.recovery)); + } + } + return write_bootloader_message(boot, err); +} + +bool read_wipe_package(std::string* package_data, size_t size, std::string* err) { + package_data->resize(size); + return read_misc_partition(&(*package_data)[0], size, WIPE_PACKAGE_OFFSET_IN_MISC, err); +} + +bool write_wipe_package(const std::string& package_data, std::string* err) { + return write_misc_partition(package_data.data(), package_data.size(), + WIPE_PACKAGE_OFFSET_IN_MISC, err); +} + +extern "C" bool write_bootloader_message(const char* options) { + std::string err; + return write_bootloader_message({options}, &err); +} diff --git a/bootloader_message/include/bootloader_message/bootloader_message.h b/bootloader_message/include/bootloader_message/bootloader_message.h new file mode 100644 index 000000000..c63aeca6f --- /dev/null +++ b/bootloader_message/include/bootloader_message/bootloader_message.h @@ -0,0 +1,99 @@ +/* + * Copyright (C) 2008 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef _BOOTLOADER_MESSAGE_H +#define _BOOTLOADER_MESSAGE_H + +#include + +// Spaces used by misc partition are as below: +// 0 - 2K Bootloader Message +// 2K - 16K Used by Vendor's bootloader +// 16K - 64K Used by uncrypt and recovery to store wipe_package for A/B devices +// Note that these offsets are admitted by bootloader,recovery and uncrypt, so they +// are not configurable without changing all of them. +static const size_t BOOTLOADER_MESSAGE_OFFSET_IN_MISC = 0; +static const size_t WIPE_PACKAGE_OFFSET_IN_MISC = 16 * 1024; + +/* Bootloader Message + * + * This structure describes the content of a block in flash + * that is used for recovery and the bootloader to talk to + * each other. + * + * The command field is updated by linux when it wants to + * reboot into recovery or to update radio or bootloader firmware. + * It is also updated by the bootloader when firmware update + * is complete (to boot into recovery for any final cleanup) + * + * The status field is written by the bootloader after the + * completion of an "update-radio" or "update-hboot" command. + * + * The recovery field is only written by linux and used + * for the system to send a message to recovery or the + * other way around. + * + * The stage field is written by packages which restart themselves + * multiple times, so that the UI can reflect which invocation of the + * package it is. If the value is of the format "#/#" (eg, "1/3"), + * the UI will add a simple indicator of that status. + * + * The slot_suffix field is used for A/B implementations where the + * bootloader does not set the androidboot.ro.boot.slot_suffix kernel + * commandline parameter. This is used by fs_mgr to mount /system and + * other partitions with the slotselect flag set in fstab. A/B + * implementations are free to use all 32 bytes and may store private + * data past the first NUL-byte in this field. + */ +struct bootloader_message { + char command[32]; + char status[32]; + char recovery[768]; + + // The 'recovery' field used to be 1024 bytes. It has only ever + // been used to store the recovery command line, so 768 bytes + // should be plenty. We carve off the last 256 bytes to store the + // stage string (for multistage packages) and possible future + // expansion. + char stage[32]; + char slot_suffix[32]; + char reserved[192]; +}; + +#ifdef __cplusplus + +#include +#include + +bool read_bootloader_message(bootloader_message* boot, std::string* err); +bool write_bootloader_message(const bootloader_message& boot, std::string* err); +bool write_bootloader_message(const std::vector& options, std::string* err); +bool clear_bootloader_message(std::string* err); + +bool read_wipe_package(std::string* package_data, size_t size, std::string* err); +bool write_wipe_package(const std::string& package_data, std::string* err); + + +#else + +#include + +// C Interface. +bool write_bootloader_message(const char* options); + +#endif // ifdef __cplusplus + +#endif // _BOOTLOADER_MESSAGE_H diff --git a/recovery.cpp b/recovery.cpp index 98148af0a..c4b36557b 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include /* Android Log packet format */ @@ -52,7 +53,6 @@ #include #include "adb_install.h" -#include "bootloader.h" #include "common.h" #include "device.h" #include "error_code.h" @@ -303,9 +303,13 @@ static void redirect_stdio(const char* filename) { // - the contents of COMMAND_FILE (one per line) static void get_args(int *argc, char ***argv) { - struct bootloader_message boot; - memset(&boot, 0, sizeof(boot)); - get_bootloader_message(&boot); // this may fail, leaving a zeroed structure + bootloader_message boot = {}; + std::string err; + if (!read_bootloader_message(&boot, &err)) { + LOGE("%s\n", err.c_str()); + // If fails, leave a zeroed bootloader_message. + memset(&boot, 0, sizeof(boot)); + } stage = strndup(boot.stage, sizeof(boot.stage)); if (boot.command[0] != 0 && boot.command[0] != 255) { @@ -367,16 +371,20 @@ get_args(int *argc, char ***argv) { strlcat(boot.recovery, (*argv)[i], sizeof(boot.recovery)); strlcat(boot.recovery, "\n", sizeof(boot.recovery)); } - set_bootloader_message(&boot); + if (!write_bootloader_message(boot, &err)) { + LOGE("%s\n", err.c_str()); + } } static void set_sdcard_update_bootloader_message() { - struct bootloader_message boot; - memset(&boot, 0, sizeof(boot)); + bootloader_message boot = {}; strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); strlcpy(boot.recovery, "recovery\n", sizeof(boot.recovery)); - set_bootloader_message(&boot); + std::string err; + if (!write_bootloader_message(boot, &err)) { + LOGE("%s\n", err.c_str()); + } } // Read from kernel log into buffer and write out to file. @@ -537,9 +545,11 @@ finish_recovery(const char *send_intent) { copy_logs(); // Reset to normal system boot so recovery won't cycle indefinitely. - struct bootloader_message boot; - memset(&boot, 0, sizeof(boot)); - set_bootloader_message(&boot); + bootloader_message boot = {}; + std::string err; + if (!write_bootloader_message(boot, &err)) { + LOGE("%s\n", err.c_str()); + } // Remove the command file, so recovery won't repeat indefinitely. if (has_cache) { @@ -916,8 +926,9 @@ static bool check_wipe_package(size_t wipe_package_size) { return false; } std::string wipe_package; - if (!read_wipe_package(wipe_package_size, &wipe_package)) { - LOGE("Failed to read wipe package.\n"); + std::string err_str; + if (!read_wipe_package(&wipe_package, wipe_package_size, &err_str)) { + LOGE("Failed to read wipe package: %s\n", err_str.c_str()); return false; } if (!verify_package(reinterpret_cast(wipe_package.data()), @@ -1369,7 +1380,7 @@ static bool is_battery_ok() { } static void set_retry_bootloader_message(int retry_count, int argc, char** argv) { - struct bootloader_message boot {}; + bootloader_message boot = {}; strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); strlcpy(boot.recovery, "recovery\n", sizeof(boot.recovery)); @@ -1388,7 +1399,10 @@ static void set_retry_bootloader_message(int retry_count, int argc, char** argv) snprintf(buffer, sizeof(buffer), "--retry_count=%d\n", retry_count+1); strlcat(boot.recovery, buffer, sizeof(boot.recovery)); } - set_bootloader_message(&boot); + std::string err; + if (!write_bootloader_message(boot, &err)) { + LOGE("%s\n", err.c_str()); + } } static ssize_t logbasename( diff --git a/uncrypt/Android.mk b/uncrypt/Android.mk index 09cfdfca5..bb276edd5 100644 --- a/uncrypt/Android.mk +++ b/uncrypt/Android.mk @@ -14,15 +14,6 @@ LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) -LOCAL_CLANG := true -LOCAL_SRC_FILES := bootloader_message_writer.cpp -LOCAL_MODULE := libbootloader_message_writer -LOCAL_STATIC_LIBRARIES := libbase libfs_mgr -LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. -LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include -include $(BUILD_STATIC_LIBRARY) - include $(CLEAR_VARS) LOCAL_CLANG := true @@ -33,7 +24,7 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/.. LOCAL_MODULE := uncrypt -LOCAL_STATIC_LIBRARIES := libbootloader_message_writer libbase \ +LOCAL_STATIC_LIBRARIES := libbootloader_message libbase \ liblog libfs_mgr libcutils \ LOCAL_INIT_RC := uncrypt.rc diff --git a/uncrypt/bootloader_message_writer.cpp b/uncrypt/bootloader_message_writer.cpp deleted file mode 100644 index 42df31efa..000000000 --- a/uncrypt/bootloader_message_writer.cpp +++ /dev/null @@ -1,123 +0,0 @@ -/* - * Copyright (C) 2016 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include -#include -#include -#include - -#include -#include - -#include -#include -#include -#include - -#include "bootloader.h" - -static struct fstab* read_fstab(std::string* err) { - // The fstab path is always "/fstab.${ro.hardware}". - std::string fstab_path = "/fstab."; - char value[PROP_VALUE_MAX]; - if (__system_property_get("ro.hardware", value) == 0) { - *err = "failed to get ro.hardware"; - return nullptr; - } - fstab_path += value; - struct fstab* fstab = fs_mgr_read_fstab(fstab_path.c_str()); - if (fstab == nullptr) { - *err = "failed to read " + fstab_path; - } - return fstab; -} - -static std::string get_misc_blk_device(std::string* err) { - struct fstab* fstab = read_fstab(err); - if (fstab == nullptr) { - return ""; - } - fstab_rec* record = fs_mgr_get_entry_for_mount_point(fstab, "/misc"); - if (record == nullptr) { - *err = "failed to find /misc partition"; - return ""; - } - return record->blk_device; -} - -static bool write_misc_partition(const void* p, size_t size, size_t misc_offset, std::string* err) { - std::string misc_blk_device = get_misc_blk_device(err); - if (misc_blk_device.empty()) { - return false; - } - android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC)); - if (fd.get() == -1) { - *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), - strerror(errno)); - return false; - } - if (lseek(fd.get(), static_cast(misc_offset), SEEK_SET) != - static_cast(misc_offset)) { - *err = android::base::StringPrintf("failed to lseek %s: %s", misc_blk_device.c_str(), - strerror(errno)); - return false; - } - if (!android::base::WriteFully(fd.get(), p, size)) { - *err = android::base::StringPrintf("failed to write %s: %s", misc_blk_device.c_str(), - strerror(errno)); - return false; - } - - // TODO: O_SYNC and fsync duplicates each other? - if (fsync(fd.get()) == -1) { - *err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str(), - strerror(errno)); - return false; - } - return true; -} - -static bool write_bootloader_message(const bootloader_message& boot, std::string* err) { - return write_misc_partition(&boot, sizeof(boot), BOOTLOADER_MESSAGE_OFFSET_IN_MISC, err); -} - -bool clear_bootloader_message(std::string* err) { - bootloader_message boot = {}; - return write_bootloader_message(boot, err); -} - -bool write_bootloader_message(const std::vector& options, std::string* err) { - bootloader_message boot = {}; - strlcpy(boot.command, "boot-recovery", sizeof(boot.command)); - strlcpy(boot.recovery, "recovery\n", sizeof(boot.recovery)); - for (const auto& s : options) { - strlcat(boot.recovery, s.c_str(), sizeof(boot.recovery)); - if (s.back() != '\n') { - strlcat(boot.recovery, "\n", sizeof(boot.recovery)); - } - } - return write_bootloader_message(boot, err); -} - -bool write_wipe_package(const std::string& package_data, std::string* err) { - return write_misc_partition(package_data.data(), package_data.size(), - WIPE_PACKAGE_OFFSET_IN_MISC, err); -} - -extern "C" bool write_bootloader_message(const char* options) { - std::string err; - return write_bootloader_message({options}, &err); -} diff --git a/uncrypt/include/bootloader_message_writer.h b/uncrypt/include/bootloader_message_writer.h deleted file mode 100644 index 1344bc835..000000000 --- a/uncrypt/include/bootloader_message_writer.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2016 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef BOOTLOADER_MESSAGE_WRITER_H -#define BOOTLOADER_MESSAGE_WRITER_H - -#ifdef __cplusplus -#include -#include - -bool clear_bootloader_message(std::string* err); - -bool write_bootloader_message(const std::vector& options, std::string* err); -bool write_wipe_package(const std::string& package_data, std::string* err); - -#else -#include - -// C Interface. -bool write_bootloader_message(const char* options); -#endif - -#endif // BOOTLOADER_MESSAGE_WRITER_H diff --git a/uncrypt/uncrypt.cpp b/uncrypt/uncrypt.cpp index f62d13279..5e804bcca 100644 --- a/uncrypt/uncrypt.cpp +++ b/uncrypt/uncrypt.cpp @@ -109,7 +109,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.2.3 From ccb0ba908a40df2d97afcaa9c7bf1bd7efa8fcfd Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Sat, 11 Jun 2016 03:56:38 -0700 Subject: updater: Fix the broken ReadFileFn. Was accidentally broken by the CL in [1]. [1]: commit d6c93afcc28cc65217ba65eeb646009c4f15a2ad Bug: 29767315 Change-Id: I851e13ccea6f5be6fcd47f712cc95867245f9934 (cherry picked from commit efacd80364c7ed42d56310949790d89febaf3444) --- updater/install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/install.cpp b/updater/install.cpp index 1a647dfa5..005f9f97d 100644 --- a/updater/install.cpp +++ b/updater/install.cpp @@ -1417,7 +1417,7 @@ Value* ReadFileFn(const char* name, State* state, int argc, Expr* argv[]) { v->data = nullptr; FileContents fc; - if (LoadFileContents(filename, &fc) != 0) { + if (LoadFileContents(filename, &fc) == 0) { v->data = static_cast(malloc(fc.data.size())); if (v->data != nullptr) { memcpy(v->data, fc.data.data(), fc.data.size()); -- cgit v1.2.3 From 9da04d595fe01e4c0ac1baf39186ac090bf234b3 Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Wed, 6 Jul 2016 11:47:23 -0700 Subject: Fix bootloader_message. Bug: 29945717 Change-Id: I934fd6c52b0111937fa75455de2fa4157fb30f6f --- bootloader_message/bootloader_message.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootloader_message/bootloader_message.cpp b/bootloader_message/bootloader_message.cpp index e7195ae9d..9de7dff40 100644 --- a/bootloader_message/bootloader_message.cpp +++ b/bootloader_message/bootloader_message.cpp @@ -89,7 +89,7 @@ static bool read_misc_partition(void* p, size_t size, size_t offset, std::string if (!wait_for_device(misc_blk_device, err)) { return false; } - android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC)); + android::base::unique_fd fd(open(misc_blk_device.c_str(), O_RDONLY)); if (fd.get() == -1) { *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), strerror(errno)); -- cgit v1.2.3 From 6d089a955f53ddeacdfa1396ad99f0c00d406175 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 8 Jul 2016 17:23:41 -0700 Subject: Support landscape layouts. Add support for landscape layouts to the existing portrait support. Bug: http://b/29418855 Test: tested manually with "Run graphics test" on flounder/fugu/ryu. Change-Id: Ib4a62bf5f2b8a1cef6028a01f05145104660560a --- screen_ui.cpp | 42 +++++++++++++++++++++++++++++------------- screen_ui.h | 4 ++-- 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/screen_ui.cpp b/screen_ui.cpp index 85f789f3f..2a0769e49 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -105,29 +105,41 @@ int ScreenRecoveryUI::PixelsFromDp(int dp) { // Here's the intended layout: -// | regular large -// ---------+-------------------- -// | 220dp 366dp -// icon | (200dp) (200dp) -// | 68dp 68dp -// text | (14sp) (14sp) -// | 32dp 32dp -// progress | (2dp) (2dp) -// | 194dp 340dp +// | portrait large landscape large +// ---------+------------------------------------------------- +// gap | 220dp 366dp 142dp 284dp +// icon | (200dp) +// gap | 68dp 68dp 56dp 112dp +// text | (14sp) +// gap | 32dp 32dp 26dp 52dp +// progress | (2dp) +// gap | 194dp 340dp 131dp 262dp // Note that "baseline" is actually the *top* of each icon (because that's how our drawing // routines work), so that's the more useful measurement for calling code. +enum Layout { PORTRAIT = 0, PORTRAIT_LARGE = 1, LANDSCAPE = 2, LANDSCAPE_LARGE = 3, LAYOUT_MAX }; +enum Dimension { PROGRESS = 0, TEXT = 1, ICON = 2, DIMENSION_MAX }; +static constexpr int kLayouts[LAYOUT_MAX][DIMENSION_MAX] = { + { 194, 32, 68, }, // PORTRAIT + { 340, 32, 68, }, // PORTRAIT_LARGE + { 131, 26, 56, }, // LANDSCAPE + { 262, 52, 112, }, // LANDSCAPE_LARGE +}; + int ScreenRecoveryUI::GetAnimationBaseline() { - return GetTextBaseline() - PixelsFromDp(68) - gr_get_height(loopFrames[0]); + return GetTextBaseline() - PixelsFromDp(kLayouts[layout_][ICON]) - + gr_get_height(loopFrames[0]); } int ScreenRecoveryUI::GetTextBaseline() { - return GetProgressBaseline() - PixelsFromDp(32) - gr_get_height(installing_text); + return GetProgressBaseline() - PixelsFromDp(kLayouts[layout_][TEXT]) - + gr_get_height(installing_text); } int ScreenRecoveryUI::GetProgressBaseline() { - return gr_fb_height() - PixelsFromDp(is_large_ ? 340 : 194) - gr_get_height(progressBarFill); + return gr_fb_height() - PixelsFromDp(kLayouts[layout_][PROGRESS]) - + gr_get_height(progressBarFill); } // Clear the screen and draw the currently selected background icon (if any). @@ -439,7 +451,11 @@ void ScreenRecoveryUI::Init() { gr_init(); density_ = static_cast(property_get_int32("ro.sf.lcd_density", 160)) / 160.f; - is_large_ = gr_fb_height() > PixelsFromDp(800); + + // Are we portrait or landscape? + layout_ = (gr_fb_width() > gr_fb_height()) ? LANDSCAPE : PORTRAIT; + // Are we the large variant of our base layout? + if (gr_fb_height() > PixelsFromDp(800)) ++layout_; gr_font_size(&char_width_, &char_height_); text_rows_ = gr_fb_height() / char_height_; diff --git a/screen_ui.h b/screen_ui.h index 4319b76ce..898775778 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -77,8 +77,8 @@ class ScreenRecoveryUI : public RecoveryUI { // The scale factor from dp to pixels. 1.0 for mdpi, 4.0 for xxxhdpi. float density_; - // True if we should use the large layout. - bool is_large_; + // The layout to use. + int layout_; GRSurface* error_icon; -- cgit v1.2.3 From 27b9fc8a36757235ac3386d66db7d35820c2eb04 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Mon, 11 Jul 2016 14:04:08 -0700 Subject: Skip update-on-boot for bootreason in blacklist Skip the OTA installation when bootreason is 'kernel_panic', 'Panic' etc. Change-Id: Ic1202492bffefa1a9d8d0e691b5af979285e552c Test: On angler, ota installation skips for one bootreason in the blacklist. Bug: 29978689 --- error_code.h | 3 ++- recovery.cpp | 45 ++++++++++++++++++++++++++++++++++++--------- 2 files changed, 38 insertions(+), 10 deletions(-) diff --git a/error_code.h b/error_code.h index 259319ab4..fe38ba476 100644 --- a/error_code.h +++ b/error_code.h @@ -21,7 +21,8 @@ enum ErrorCode { kNoError = -1, kLowBattery = 20, kZipVerificationFailure, - kZipOpenFailure + kZipOpenFailure, + kBootreasonInBlacklist }; enum CauseCode { diff --git a/recovery.cpp b/recovery.cpp index c4b36557b..cd4f361fe 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -89,6 +89,12 @@ static const struct option OPTIONS[] = { { NULL, 0, NULL, 0 }, }; +// More bootreasons can be found in "system/core/bootstat/bootstat.cpp". +static const std::vector bootreason_blacklist { + "kernel_panic", + "Panic", +}; + static const char *CACHE_LOG_DIR = "/cache/recovery"; static const char *COMMAND_FILE = "/cache/recovery/command"; static const char *INTENT_FILE = "/cache/recovery/intent"; @@ -1405,6 +1411,30 @@ static void set_retry_bootloader_message(int retry_count, int argc, char** argv) } } +static bool bootreason_in_blacklist() { + char bootreason[PROPERTY_VALUE_MAX]; + if (property_get("ro.boot.bootreason", bootreason, nullptr) > 0) { + for (const auto& str : bootreason_blacklist) { + if (strcasecmp(str.c_str(), bootreason) == 0) { + return true; + } + } + } + return false; +} + +static void log_failure_code(ErrorCode code, const char *update_package) { + FILE* install_log = fopen_path(TEMPORARY_INSTALL_FILE, "w"); + if (install_log != nullptr) { + fprintf(install_log, "%s\n", update_package); + fprintf(install_log, "0\n"); + fprintf(install_log, "error: %d\n", code); + fclose(install_log); + } else { + LOGE("failed to open last_install: %s\n", strerror(errno)); + } +} + static ssize_t logbasename( log_id_t /* logId */, char /* prio */, @@ -1628,15 +1658,12 @@ int main(int argc, char **argv) { BATTERY_OK_PERCENTAGE); // Log the error code to last_install when installation skips due to // low battery. - FILE* install_log = fopen_path(LAST_INSTALL_FILE, "w"); - if (install_log != nullptr) { - fprintf(install_log, "%s\n", update_package); - fprintf(install_log, "0\n"); - fprintf(install_log, "error: %d\n", kLowBattery); - fclose(install_log); - } else { - LOGE("failed to open last_install: %s\n", strerror(errno)); - } + log_failure_code(kLowBattery, update_package); + status = INSTALL_SKIPPED; + } else if (bootreason_in_blacklist()) { + // Skip update-on-reboot when bootreason is kernel_panic or similar + ui->Print("bootreason is in the blacklist; skip OTA installation\n"); + log_failure_code(kBootreasonInBlacklist, update_package); status = INSTALL_SKIPPED; } else { status = install_package(update_package, &should_wipe_cache, -- cgit v1.2.3 From 03ca853a1c8b974152b7c56cb887ac2f36cfd833 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Mon, 29 Feb 2016 16:08:06 -0800 Subject: Touch blocks in care_map in update_verifier Read all blocks in system and vendor partition during boot time so that dm-verity could verify this partition is properly flashed. Bug: 27175949 Change-Id: I38ff7b18ee4f2733e639b89633d36f5ed551c989 --- update_verifier/Android.mk | 5 +- update_verifier/update_verifier.cpp | 131 ++++++++++++++++++++++++++++++++---- 2 files changed, 122 insertions(+), 14 deletions(-) diff --git a/update_verifier/Android.mk b/update_verifier/Android.mk index 7f28bcedc..2bfd01622 100644 --- a/update_verifier/Android.mk +++ b/update_verifier/Android.mk @@ -18,7 +18,10 @@ include $(CLEAR_VARS) LOCAL_CLANG := true LOCAL_SRC_FILES := update_verifier.cpp + LOCAL_MODULE := update_verifier -LOCAL_SHARED_LIBRARIES := libhardware liblog +LOCAL_SHARED_LIBRARIES := libbase libcutils libhardware liblog + +LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. include $(BUILD_EXECUTABLE) diff --git a/update_verifier/update_verifier.cpp b/update_verifier/update_verifier.cpp index be70cec7f..f89eb5a64 100644 --- a/update_verifier/update_verifier.cpp +++ b/update_verifier/update_verifier.cpp @@ -22,24 +22,120 @@ * It relies on dm-verity to capture any corruption on the partitions being * verified. dm-verity must be in enforcing mode, so that it will reboot the * device on dm-verity failures. When that happens, the bootloader should - * mark the slot as unbootable and stops trying. We should never see a device - * started in dm-verity logging mode but with isSlotMarkedSuccessful equals to - * 0. + * mark the slot as unbootable and stops trying. Other dm-verity modes ( + * for example, veritymode=EIO) are not accepted and simply lead to a + * verification failure. * * The current slot will be marked as having booted successfully if the * verifier reaches the end after the verification. * - * TODO: The actual verification part will be added later after we have the - * A/B OTA package format in place. */ +#include +#include +#include #include -#include +#include +#include +#include +#include +#include +#include +#include +#include #define LOG_TAG "update_verifier" #include +constexpr auto CARE_MAP_FILE = "/data/ota_package/care_map.txt"; +constexpr int BLOCKSIZE = 4096; + +static bool read_blocks(const std::string& blk_device_prefix, const std::string& range_str) { + char slot_suffix[PROPERTY_VALUE_MAX]; + property_get("ro.boot.slot_suffix", slot_suffix, ""); + std::string blk_device = blk_device_prefix + std::string(slot_suffix); + android::base::unique_fd fd(TEMP_FAILURE_RETRY(open(blk_device.c_str(), O_RDONLY))); + if (fd.get() == -1) { + SLOGE("Error reading partition %s: %s\n", blk_device.c_str(), strerror(errno)); + return false; + } + + // For block range string, first integer 'count' equals 2 * total number of valid ranges, + // followed by 'count' number comma separated integers. Every two integers reprensent a + // block range with the first number included in range but second number not included. + // For example '4,64536,65343,74149,74150' represents: [64536,65343) and [74149,74150). + std::vector ranges = android::base::Split(range_str, ","); + size_t range_count; + bool status = android::base::ParseUint(ranges[0].c_str(), &range_count); + if (!status || (range_count == 0) || (range_count % 2 != 0) || + (range_count != ranges.size()-1)) { + SLOGE("Error in parsing range string.\n"); + return false; + } + + size_t blk_count = 0; + for (size_t i = 1; i < ranges.size(); i += 2) { + unsigned int range_start, range_end; + bool parse_status = android::base::ParseUint(ranges[i].c_str(), &range_start); + parse_status = parse_status && android::base::ParseUint(ranges[i+1].c_str(), &range_end); + if (!parse_status || range_start >= range_end) { + SLOGE("Invalid range pair %s, %s.\n", ranges[i].c_str(), ranges[i+1].c_str()); + return false; + } + + if (lseek64(fd.get(), static_cast(range_start) * BLOCKSIZE, SEEK_SET) == -1) { + SLOGE("lseek to %u failed: %s.\n", range_start, strerror(errno)); + return false; + } + + size_t size = (range_end - range_start) * BLOCKSIZE; + std::vector buf(size); + if (!android::base::ReadFully(fd.get(), buf.data(), size)) { + SLOGE("Failed to read blocks %u to %u: %s.\n", range_start, range_end, + strerror(errno)); + return false; + } + blk_count += (range_end - range_start); + } + + SLOGI("Finished reading %zu blocks on %s.\n", blk_count, blk_device.c_str()); + return true; +} + +static bool verify_image(const std::string& care_map_name) { + android::base::unique_fd care_map_fd(TEMP_FAILURE_RETRY(open(care_map_name.c_str(), O_RDONLY))); + if (care_map_fd.get() == -1) { + SLOGE("Care map %s not found.\n", care_map_name.c_str()); + return false; + } + // Care map file has four lines (two lines if vendor partition is not present): + // First line has the block device name, e.g./dev/block/.../by-name/system. + // Second line holds all ranges of blocks to verify. + // The next two lines have the same format but for vendor partition. + std::string file_content; + if (!android::base::ReadFdToString(care_map_fd.get(), &file_content)) { + SLOGE("Error reading care map contents to string.\n"); + return false; + } + + std::vector lines; + lines = android::base::Split(android::base::Trim(file_content), "\n"); + if (lines.size() != 2 && lines.size() != 4) { + SLOGE("Invalid lines in care_map: found %zu lines, expecting 2 or 4 lines.\n", + lines.size()); + return false; + } + + for (size_t i = 0; i < lines.size(); i += 2) { + if (!read_blocks(lines[i], lines[i+1])) { + return false; + } + } + + return true; +} + int main(int argc, char** argv) { for (int i = 1; i < argc; i++) { SLOGI("Started with arg %d: %s\n", i, argv[i]); @@ -58,15 +154,24 @@ int main(int argc, char** argv) { unsigned current_slot = module->getCurrentSlot(module); int is_successful= module->isSlotMarkedSuccessful(module, current_slot); SLOGI("Booting slot %u: isSlotMarkedSuccessful=%d\n", current_slot, is_successful); - if (is_successful == 0) { // The current slot has not booted successfully. - - // TODO: Add the actual verification after we have the A/B OTA package - // format in place. - - // TODO: Assert the dm-verity mode. Bootloader should never boot a newly - // flashed slot (isSlotMarkedSuccessful == 0) with dm-verity logging mode. + char verity_mode[PROPERTY_VALUE_MAX]; + if (property_get("ro.boot.veritymode", verity_mode, "") == -1) { + SLOGE("Failed to get dm-verity mode"); + return -1; + } else if (strcmp(verity_mode, "EIO") == 0) { + // We shouldn't see verity in EIO mode if the current slot hasn't booted + // successfully before. Therefore, fail the verification when veirtymode=EIO. + SLOGE("Found dm-verity in EIO mode, skip verification."); + return -1; + } else if (strcmp(verity_mode, "enforcing") != 0) { + SLOGE("Unexpected dm-verity mode : %s, expecting enforcing.", verity_mode); + return -1; + } else if (!verify_image(CARE_MAP_FILE)) { + SLOGE("Failed to verify all blocks in care map file.\n"); + return -1; + } int ret = module->markBootSuccessful(module); if (ret != 0) { -- cgit v1.2.3 From 4bbe0c93c80789891d54a74424731caffda0d0db Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Thu, 14 Jul 2016 16:00:36 -0700 Subject: Fix a typo when comparing the verity mode The veritymode string used by the bootloader should be lowercase 'eio' instead of 'EIO'. Fix the typo and change to strcasecmp. Bug: 27175949 Change-Id: I376dacc70eef7364e2b9931a7c940adedcdb1929 --- update_verifier/update_verifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_verifier/update_verifier.cpp b/update_verifier/update_verifier.cpp index f89eb5a64..53e5efe54 100644 --- a/update_verifier/update_verifier.cpp +++ b/update_verifier/update_verifier.cpp @@ -160,9 +160,9 @@ int main(int argc, char** argv) { if (property_get("ro.boot.veritymode", verity_mode, "") == -1) { SLOGE("Failed to get dm-verity mode"); return -1; - } else if (strcmp(verity_mode, "EIO") == 0) { + } else if (strcasecmp(verity_mode, "eio") == 0) { // We shouldn't see verity in EIO mode if the current slot hasn't booted - // successfully before. Therefore, fail the verification when veirtymode=EIO. + // successfully before. Therefore, fail the verification when veritymode=eio. SLOGE("Found dm-verity in EIO mode, skip verification."); return -1; } else if (strcmp(verity_mode, "enforcing") != 0) { -- cgit v1.2.3 From da654af606d700c0a467c27025fb7f6ef745936d Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Fri, 15 Jul 2016 16:15:42 -0700 Subject: Skip update verification if care_map is not found Recently flashed devices may not have care_map.txt in /data/ota_package. This leads to a failure of update-verifier and prevents boot success flag from being set. So, we need to skip verification in case the file is not found. Error message: ... I update_verifier: Started with arg 1: nonencrypted ... I update_verifier: Booting slot 1: isSlotMarkedSuccessful=0 ... E update_verifier: Care map /data/ota_package/care_map.txt not found. ... E update_verifier: Failed to verify all blocks in care map file Bug: 30156449 Change-Id: Ia15f5f3e7ca2ea6981d49678e799b9f70d134faa --- update_verifier/update_verifier.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/update_verifier/update_verifier.cpp b/update_verifier/update_verifier.cpp index 53e5efe54..5cff8be93 100644 --- a/update_verifier/update_verifier.cpp +++ b/update_verifier/update_verifier.cpp @@ -105,9 +105,12 @@ static bool read_blocks(const std::string& blk_device_prefix, const std::string& static bool verify_image(const std::string& care_map_name) { android::base::unique_fd care_map_fd(TEMP_FAILURE_RETRY(open(care_map_name.c_str(), O_RDONLY))); + // If the device is flashed before the current boot, it may not have care_map.txt + // in /data/ota_package. To allow the device to continue booting in this situation, + // we should print a warning and skip the block verification. if (care_map_fd.get() == -1) { - SLOGE("Care map %s not found.\n", care_map_name.c_str()); - return false; + SLOGI("Warning: care map %s not found.\n", care_map_name.c_str()); + return true; } // Care map file has four lines (two lines if vendor partition is not present): // First line has the block device name, e.g./dev/block/.../by-name/system. -- cgit v1.2.3 From e49c0d6406dcce19bdcf81d635b3449004f44c7e Mon Sep 17 00:00:00 2001 From: Bill Yi Date: Wed, 20 Jul 2016 19:24:24 -0700 Subject: Import translations. DO NOT MERGE Change-Id: If24c94c20f8e4c37c119dcaff765e9ee59e48ef4 Auto-generated-cl: translation import --- tools/recovery_l10n/res/values-b+sr+Latn/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-be-rBY/strings.xml | 8 ++++---- tools/recovery_l10n/res/values-bs-rBA/strings.xml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/recovery_l10n/res/values-b+sr+Latn/strings.xml b/tools/recovery_l10n/res/values-b+sr+Latn/strings.xml index 6f433e39d..c2d8f2239 100644 --- a/tools/recovery_l10n/res/values-b+sr+Latn/strings.xml +++ b/tools/recovery_l10n/res/values-b+sr+Latn/strings.xml @@ -1,9 +1,9 @@ - "Instaliranje ažuriranja sistema..." - "Brisanje..." - "Nema komande." + "Ažuriranje sistema se instalira" + "Briše se" + "Nema komande" "Greška!" - "Instalira se bezbednosno ažuriranje…" + "Instalira se bezbednosno ažuriranje" diff --git a/tools/recovery_l10n/res/values-be-rBY/strings.xml b/tools/recovery_l10n/res/values-be-rBY/strings.xml index 5decf8130..7c0954d31 100644 --- a/tools/recovery_l10n/res/values-be-rBY/strings.xml +++ b/tools/recovery_l10n/res/values-be-rBY/strings.xml @@ -1,9 +1,9 @@ - "Усталёўка абнаўлення сістэмы..." - "Выдаленне..." - "Няма каманды" + "Усталёўка абнаўлення сістэмы" + "Сціранне" + "Няма каманды" "Памылка" - "Усталёўка абнаўлення сістэмы бяспекі..." + "Усталёўка абнаўлення сістэмы бяспекі" diff --git a/tools/recovery_l10n/res/values-bs-rBA/strings.xml b/tools/recovery_l10n/res/values-bs-rBA/strings.xml index 8b6202a1e..412cf0276 100644 --- a/tools/recovery_l10n/res/values-bs-rBA/strings.xml +++ b/tools/recovery_l10n/res/values-bs-rBA/strings.xml @@ -1,9 +1,9 @@ - "Sistem se ažurira…" - "Briše se…" - "Nema komande." + "Ažuriranje sistema…" + "Brisanje u toku" + "Nema komande" "Greška!" - "Instaliranje sigurnosnog ažuriranja…" + "Instaliranje sigurnosnog ažuriranja…" -- cgit v1.2.3 From 4344d636d4f8687054593f88ddd7509ff8581419 Mon Sep 17 00:00:00 2001 From: Alex Deymo Date: Wed, 3 Aug 2016 21:03:53 -0700 Subject: Call update_engine_sideload from recovery. This patch enables sideloading an OTA on A/B devices while running from recovery. Recovery accepts the same OTA package format as recent versions of GMS, which consists of .zip file with the payload in it. Bug: 27178350 TEST=`adb sideload` successfully a full OTA (*) TEST=Failed to take several invalid payloads (wrong product, fingerprint, update type, serial, etc). (*) with no postinstall script. Change-Id: I951869340100feb5a37e41fac0ee59c10095659e --- device.cpp | 32 +++------- install.cpp | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 189 insertions(+), 42 deletions(-) diff --git a/device.cpp b/device.cpp index f8fbb8a49..e717dddf7 100644 --- a/device.cpp +++ b/device.cpp @@ -16,36 +16,15 @@ #include "device.h" -#if defined(AB_OTA_UPDATER) - -static const char* MENU_ITEMS[] = { - "Reboot system now", - "Reboot to bootloader", - "Wipe data/factory reset", - "Mount /system", - "Run graphics test", - "Power off", - NULL, -}; - -static const Device::BuiltinAction MENU_ACTIONS[] = { - Device::REBOOT, - Device::REBOOT_BOOTLOADER, - Device::WIPE_DATA, - Device::MOUNT_SYSTEM, - Device::RUN_GRAPHICS_TEST, - Device::SHUTDOWN, -}; - -#else - static const char* MENU_ITEMS[] = { "Reboot system now", "Reboot to bootloader", "Apply update from ADB", "Apply update from SD card", "Wipe data/factory reset", +#ifndef AB_OTA_UPDATER "Wipe cache partition", +#endif // !AB_OTA_UPDATER "Mount /system", "View recovery logs", "Run graphics test", @@ -59,14 +38,19 @@ static const Device::BuiltinAction MENU_ACTIONS[] = { Device::APPLY_ADB_SIDELOAD, Device::APPLY_SDCARD, Device::WIPE_DATA, +#ifndef AB_OTA_UPDATER Device::WIPE_CACHE, +#endif // !AB_OTA_UPDATER Device::MOUNT_SYSTEM, Device::VIEW_RECOVERY_LOGS, Device::RUN_GRAPHICS_TEST, Device::SHUTDOWN, }; -#endif +static_assert(sizeof(MENU_ITEMS) / sizeof(MENU_ITEMS[0]) == + sizeof(MENU_ACTIONS) / sizeof(MENU_ACTIONS[0]) + 1, + "MENU_ITEMS and MENU_ACTIONS should have the same length, " + "except for the extra NULL entry in MENU_ITEMS."); const char* const* Device::GetMenuItems() { return MENU_ITEMS; diff --git a/install.cpp b/install.cpp index 518337fef..cde9cbafd 100644 --- a/install.cpp +++ b/install.cpp @@ -24,12 +24,15 @@ #include #include +#include +#include #include #include #include #include #include +#include #include "common.h" #include "error_code.h" @@ -46,6 +49,8 @@ extern RecoveryUI* ui; #define ASSUMED_UPDATE_BINARY_NAME "META-INF/com/google/android/update-binary" +static constexpr const char* AB_OTA_PAYLOAD_PROPERTIES = "payload_properties.txt"; +static constexpr const char* AB_OTA_PAYLOAD = "payload.bin"; #define PUBLIC_KEYS_FILE "/res/keys" static constexpr const char* METADATA_PATH = "META-INF/com/android/metadata"; @@ -113,17 +118,152 @@ static void read_source_target_build(ZipArchive* zip, std::vector& } } -// If the package contains an update binary, extract it and run it. +// Extract the update binary from the open zip archive |zip| located at |path| +// and store into |cmd| the command line that should be called. The |status_fd| +// is the file descriptor the child process should use to report back the +// progress of the update. static int -try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache, - std::vector& log_buffer, int retry_count) +update_binary_command(const char* path, ZipArchive* zip, int retry_count, + int status_fd, std::vector* cmd); + +#ifdef AB_OTA_UPDATER + +// Parses the metadata of the OTA package in |zip| and checks whether we are +// allowed to accept this A/B package. Downgrading is not allowed unless +// explicitly enabled in the package and only for incremental packages. +static int check_newer_ab_build(ZipArchive* zip) { - read_source_target_build(zip, log_buffer); + std::string metadata_str; + if (!read_metadata_from_package(zip, &metadata_str)) { + return INSTALL_CORRUPT; + } + std::map metadata; + for (const std::string& line : android::base::Split(metadata_str, "\n")) { + size_t eq = line.find('='); + if (eq != std::string::npos) { + metadata[line.substr(0, eq)] = line.substr(eq + 1); + } + } + char value[PROPERTY_VALUE_MAX]; + + property_get("ro.product.device", value, ""); + const std::string& pkg_device = metadata["pre-device"]; + if (pkg_device != value || pkg_device.empty()) { + LOGE("Package is for product %s but expected %s\n", + pkg_device.c_str(), value); + return INSTALL_ERROR; + } + + // We allow the package to not have any serialno, but if it has a non-empty + // value it should match. + property_get("ro.serialno", value, ""); + const std::string& pkg_serial_no = metadata["serialno"]; + if (!pkg_serial_no.empty() && pkg_serial_no != value) { + LOGE("Package is for serial %s\n", pkg_serial_no.c_str()); + return INSTALL_ERROR; + } + if (metadata["ota-type"] != "AB") { + LOGE("Package is not A/B\n"); + return INSTALL_ERROR; + } + + // Incremental updates should match the current build. + property_get("ro.build.version.incremental", value, ""); + const std::string& pkg_pre_build = metadata["pre-build-incremental"]; + if (!pkg_pre_build.empty() && pkg_pre_build != value) { + LOGE("Package is for source build %s but expected %s\n", + pkg_pre_build.c_str(), value); + return INSTALL_ERROR; + } + property_get("ro.build.fingerprint", value, ""); + const std::string& pkg_pre_build_fingerprint = metadata["pre-build"]; + if (!pkg_pre_build_fingerprint.empty() && + pkg_pre_build_fingerprint != value) { + LOGE("Package is for source build %s but expected %s\n", + pkg_pre_build_fingerprint.c_str(), value); + return INSTALL_ERROR; + } + + // Check for downgrade version. + int64_t build_timestampt = property_get_int64( + "ro.build.date.utc", std::numeric_limits::max()); + int64_t pkg_post_timespampt = 0; + // We allow to full update to the same version we are running, in case there + // is a problem with the current copy of that version. + if (metadata["post-timestamp"].empty() || + !android::base::ParseInt(metadata["post-timestamp"].c_str(), + &pkg_post_timespampt) || + pkg_post_timespampt < build_timestampt) { + if (metadata["ota-downgrade"] != "yes") { + LOGE("Update package is older than the current build, expected a " + "build newer than timestamp %" PRIu64 " but package has " + "timestamp %" PRIu64 " and downgrade not allowed.\n", + build_timestampt, pkg_post_timespampt); + return INSTALL_ERROR; + } + if (pkg_pre_build_fingerprint.empty()) { + LOGE("Downgrade package must have a pre-build version set, not " + "allowed.\n"); + return INSTALL_ERROR; + } + } + + return 0; +} + +static int +update_binary_command(const char* path, ZipArchive* zip, int retry_count, + int status_fd, std::vector* cmd) +{ + int ret = check_newer_ab_build(zip); + if (ret) { + return ret; + } + + // For A/B updates we extract the payload properties to a buffer and obtain + // the RAW payload offset in the zip file. + const ZipEntry* properties_entry = + mzFindZipEntry(zip, AB_OTA_PAYLOAD_PROPERTIES); + if (!properties_entry) { + LOGE("Can't find %s\n", AB_OTA_PAYLOAD_PROPERTIES); + return INSTALL_CORRUPT; + } + std::vector payload_properties( + mzGetZipEntryUncompLen(properties_entry)); + if (!mzExtractZipEntryToBuffer(zip, properties_entry, + payload_properties.data())) { + LOGE("Can't extract %s\n", AB_OTA_PAYLOAD_PROPERTIES); + return INSTALL_CORRUPT; + } + + const ZipEntry* payload_entry = mzFindZipEntry(zip, AB_OTA_PAYLOAD); + if (!payload_entry) { + LOGE("Can't find %s\n", AB_OTA_PAYLOAD); + return INSTALL_CORRUPT; + } + long payload_offset = mzGetZipEntryOffset(payload_entry); + *cmd = { + "/sbin/update_engine_sideload", + android::base::StringPrintf("--payload=file://%s", path), + android::base::StringPrintf("--offset=%ld", payload_offset), + "--headers=" + std::string(payload_properties.begin(), + payload_properties.end()), + android::base::StringPrintf("--status_fd=%d", status_fd), + }; + return 0; +} + +#else // !AB_OTA_UPDATER + +static int +update_binary_command(const char* path, ZipArchive* zip, int retry_count, + int status_fd, std::vector* cmd) +{ + // On traditional updates we extract the update binary from the package. const ZipEntry* binary_entry = mzFindZipEntry(zip, ASSUMED_UPDATE_BINARY_NAME); if (binary_entry == NULL) { - mzCloseZipArchive(zip); return INSTALL_CORRUPT; } @@ -131,22 +271,48 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache, unlink(binary); int fd = creat(binary, 0755); if (fd < 0) { - mzCloseZipArchive(zip); LOGE("Can't make %s\n", binary); return INSTALL_ERROR; } bool ok = mzExtractZipEntryToFile(zip, binary_entry, fd); close(fd); - mzCloseZipArchive(zip); if (!ok) { LOGE("Can't copy %s\n", ASSUMED_UPDATE_BINARY_NAME); return INSTALL_ERROR; } + *cmd = { + binary, + EXPAND(RECOVERY_API_VERSION), // defined in Android.mk + std::to_string(status_fd), + path, + }; + if (retry_count > 0) + cmd->push_back("retry"); + return 0; +} +#endif // !AB_OTA_UPDATER + +// If the package contains an update binary, extract it and run it. +static int +try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache, + std::vector& log_buffer, int retry_count) +{ + read_source_target_build(zip, log_buffer); + int pipefd[2]; pipe(pipefd); + std::vector args; + int ret = update_binary_command(path, zip, retry_count, pipefd[1], &args); + mzCloseZipArchive(zip); + if (ret) { + close(pipefd[0]); + close(pipefd[1]); + return ret; + } + // When executing the update binary contained in the package, the // arguments passed are: // @@ -196,22 +362,19 @@ try_update_binary(const char* path, ZipArchive* zip, bool* wipe_cache, // update attempt. // - const char** args = (const char**)malloc(sizeof(char*) * 6); - args[0] = binary; - args[1] = EXPAND(RECOVERY_API_VERSION); // defined in Android.mk - char* temp = (char*)malloc(10); - sprintf(temp, "%d", pipefd[1]); - args[2] = temp; - args[3] = (char*)path; - args[4] = retry_count > 0 ? "retry" : NULL; - args[5] = NULL; + // Convert the vector to a NULL-terminated char* array suitable for execv. + const char* chr_args[args.size() + 1]; + chr_args[args.size()] = NULL; + for (size_t i = 0; i < args.size(); i++) { + chr_args[i] = args[i].c_str(); + } pid_t pid = fork(); if (pid == 0) { umask(022); close(pipefd[0]); - execv(binary, (char* const*)args); - fprintf(stdout, "E:Can't run %s (%s)\n", binary, strerror(errno)); + execv(chr_args[0], const_cast(chr_args)); + fprintf(stdout, "E:Can't run %s (%s)\n", chr_args[0], strerror(errno)); _exit(-1); } close(pipefd[1]); -- cgit v1.2.3 From 53c107f06836ac3942ec51625038b9756a49f933 Mon Sep 17 00:00:00 2001 From: Alex Deymo Date: Fri, 12 Aug 2016 13:43:04 -0700 Subject: Add inttypes.h for PRIu64. This missing header is needed to use PRIu64 macros. Bug: 27178350 TEST=`mma bootable/recovery` on the failing branch. Change-Id: I165701e8019256426d3f6a4168db52c6a0197c4d --- install.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/install.cpp b/install.cpp index cde9cbafd..02c845cb8 100644 --- a/install.cpp +++ b/install.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3 From 62ab2a0fbcbf1da5ae671e7b87143e65ad8616ae Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 17 Aug 2016 12:02:46 -0700 Subject: "view recovery logs" will show /tmp/recovery.log For A/B devices, "view recovery logs" doesn't work due to the lack of cache partition. To help debugging, we'll show /tmp/recovery.log instead if /cache is not found. Change-Id: Idb77c3a4c30388148a210b38d732a7b27e757bba Test: Tested on an A/B device and /tmp/recovery.log showed up. Bug: 30905700 (cherry picked from commit a54f75ede8f5404c2c55b4f928e73fe9c908298e) --- recovery.cpp | 67 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 31 deletions(-) diff --git a/recovery.cpp b/recovery.cpp index cd4f361fe..ccb2d223b 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -1014,45 +1014,50 @@ static bool wipe_ab_device(size_t wipe_package_size) { } static void choose_recovery_file(Device* device) { - if (!has_cache) { - ui->Print("No /cache partition found.\n"); - return; - } - // "Back" + KEEP_LOG_COUNT * 2 + terminating nullptr entry char* entries[1 + KEEP_LOG_COUNT * 2 + 1]; memset(entries, 0, sizeof(entries)); unsigned int n = 0; - // Add LAST_LOG_FILE + LAST_LOG_FILE.x - // Add LAST_KMSG_FILE + LAST_KMSG_FILE.x - for (int i = 0; i < KEEP_LOG_COUNT; i++) { - char* log_file; - int ret; - ret = (i == 0) ? asprintf(&log_file, "%s", LAST_LOG_FILE) : - asprintf(&log_file, "%s.%d", LAST_LOG_FILE, i); - if (ret == -1) { - // memory allocation failure - return early. Should never happen. - return; - } - if ((ensure_path_mounted(log_file) != 0) || (access(log_file, R_OK) == -1)) { - free(log_file); - } else { - entries[n++] = log_file; - } + if (has_cache) { + // Add LAST_LOG_FILE + LAST_LOG_FILE.x + // Add LAST_KMSG_FILE + LAST_KMSG_FILE.x + for (int i = 0; i < KEEP_LOG_COUNT; i++) { + char* log_file; + int ret; + ret = (i == 0) ? asprintf(&log_file, "%s", LAST_LOG_FILE) : + asprintf(&log_file, "%s.%d", LAST_LOG_FILE, i); + if (ret == -1) { + // memory allocation failure - return early. Should never happen. + return; + } + if ((ensure_path_mounted(log_file) != 0) || (access(log_file, R_OK) == -1)) { + free(log_file); + } else { + entries[n++] = log_file; + } - char* kmsg_file; - ret = (i == 0) ? asprintf(&kmsg_file, "%s", LAST_KMSG_FILE) : - asprintf(&kmsg_file, "%s.%d", LAST_KMSG_FILE, i); - if (ret == -1) { - // memory allocation failure - return early. Should never happen. - return; + char* kmsg_file; + ret = (i == 0) ? asprintf(&kmsg_file, "%s", LAST_KMSG_FILE) : + asprintf(&kmsg_file, "%s.%d", LAST_KMSG_FILE, i); + if (ret == -1) { + // memory allocation failure - return early. Should never happen. + return; + } + if ((ensure_path_mounted(kmsg_file) != 0) || (access(kmsg_file, R_OK) == -1)) { + free(kmsg_file); + } else { + entries[n++] = kmsg_file; + } } - if ((ensure_path_mounted(kmsg_file) != 0) || (access(kmsg_file, R_OK) == -1)) { - free(kmsg_file); - } else { - entries[n++] = kmsg_file; + } else { + // If cache partition is not found, view /tmp/recovery.log instead. + ui->Print("No /cache partition found.\n"); + if (access(TEMPORARY_LOG_FILE, R_OK) == -1) { + return; + } else{ + entries[n++] = strdup(TEMPORARY_LOG_FILE); } } -- cgit v1.2.3