Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="lib" path="Gson/gson-1.6.jar"/>
<classpathentry kind="output" path="bin"/>
<classpathentry exported="true" kind="lib" path="Gson/gson-2.2.2.jar"/>
<classpathentry kind="lib" path="systemproperties.jar"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
4 changes: 4 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ include $(CLEAR_VARS)
LOCAL_MODULE_NAME := libGson
LOCAL_MODULE_TAGS := optional
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libGson:Gson/gson-2.2.2.jar
#LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
include $(BUILD_MULTI_PREBUILT)


include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := RomUpdater
LOCAL_MODULE_TAGS := optional

LOCAL_CERTIFICATE := shared
LOCAL_PROGUARD_FLAG_FILES := proguard.cfg

LOCAL_SRC_FILES := \
$(call all-java-files-under, google) \
$(call all-java-files-under, src) \
Expand Down
13 changes: 9 additions & 4 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.elegosproject.romupdater"
android:versionName="2.08-ICS" android:versionCode="9208">
android:versionName="2.10-JB" android:versionCode="10210">
<application
android:label="@string/app_name"
android:icon="@drawable/ic_launcher_romupdater"
Expand All @@ -14,11 +14,16 @@
</intent-filter>
</activity>

<activity android:name=".VersionSelector"
android:label="@string/view_version"
android:configChanges="orientation" />
<activity android:name=".VersionsList"
android:label="@string/view_versions_list"
android:configChanges="orientation">
<intent-filter>
<action android:name="android.settings.SYSTEM_UPDATE_SETTINGS" />
<category android:name="android.intent.category.CATEGORY_PREFERENCE" />
</intent-filter>
</activity>
<activity android:name=".VersionSelector"
android:label="@string/view_version"
android:configChanges="orientation" />
<activity android:name=".Preferences"
android:label="@string/view_preferences"
Expand Down
11 changes: 0 additions & 11 deletions default.properties

This file was deleted.

17 changes: 15 additions & 2 deletions proguard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,25 @@
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

# Gson uses generic type information stored in a class file when working with fields. Proguard
-keepattributes Signature
# To use GSON @Expose annotation
-keepattributes *Annotation*
# Gson specific classes
-keep class sun.misc.Unsafe { *; }
# Application classes that will be serialized/deserialized over Gson
-keep class com.google.gson.examples.android.model.** { *; }

-keepclassmembers class com.google.gson.internal.UnsafeAllocator {
public java.lang.Object allocateInstance(java.lang.Class);
public java.lang.reflect.Field theUnsafe;
}

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class com.android.vending.licensing.ILicensingService
-keep public class * extends android.content.*Provider

-keepclasseswithmembernames class * {
native <methods>;
Expand Down
14 changes: 14 additions & 0 deletions project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-15
32 changes: 32 additions & 0 deletions res/values-es/messages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="changelog_toast">Mantener pulsado para ver la lista de cambios</string>
<string name="repository_changed_toast">La URL del repositorio de ROM ha sido modificado</string>
<string name="repository_unreachable">Actualmente el repositorio de ROM es inaccesible. Porfavor compúebalo, o intenta más tarde.</string>
<string name="barcode_scanner_not_found">Al parecer el escaneador de codigo de barras (com.google.zxing.client.android) no está instalado.</string>
<string name="wipe_cache_message">El teléfono se reinciará al modo recovery y realizará la limpieza.</string>
<string name="wipe_data_message">El teléfono se reinciará al modo recovery y realizará la limpieza.</string>
<string name="backup_rom_message">El teléfono se reinciará al modo recovery y realizará la copia de seguridad.</string>
<string name="recovery_message">El teléfono se reinciará al modo recovery.</string>
<string name="repository_file_not_found">el archivo que usted intenta descargar es inaccesible o inválido. Por favor intente descargar luego, o contáctese con el mantenedor del repositorio.</string>
<string name="upgrade_confirmation">Desea aplicar la actuaización?</string>
<string name="modname_mismatch">Your mod seems to be different from the repository one. You\'ll be able to download only the full versions.</string>
<string name="version_descriptor_not_found_message">El archivo descriptor de la versión no fue encontrado</string>
<string name="rom_is_updated">su ROM ya está actualizado a la última versión</string>
<string name="versionlist_is_empty">No hay información disponible de la versión en el repositorio</string>
<string name="anon_send_message">Would you like to help the developer know more about the ROM name and version you\'ll download? You can anonymously send this data. If you want, you can find the setting under the preferences pane.</string>
<string name="repo_phone_mismatch">Su teléfono no es compatible con este repositorio.</string>
<string name="no_repository_available">Actualmente no hay repositorios disponibles</string>
<string name="error_model_mismatch">Precaución: Está intentando instalar una ROM que no ha sido diseñada para su modelo de teléfono. Aborte</string>
<string name="error_backup_folder_empty">Usted no tiene copias de seguridad en la actual carpeta de respaldos..</string>
<string name="error_backup_folder_doesnt_exist">La carpeta de respaldos aparentemente no existe. Revisar en sus ajustes.</string>
<string name="error_download_file">Ocurrió un error mientras se descargaba el archivo.</string>
<string name="error_json_not_found">El archivo JSON no fue encontrado</string>
<string name="error_json_download">Ocurrió un error mientras se descargaba el archivo JSON</string>
<string name="error_repository_not_set">You haven\'t set the ROM repository from the settings menu. Clicking on Ok the Settings window will appear.</string>
<string name="wipe_sdext_too">Desea realizar la limpieza de la partición SD-EXT también?</string>
<string name="confirm_restore_backup">Está seguro de que desea restaurar esta copia de seguridad?</string>
<string name="ask_backup_wipe">Al parecer el nombre de la ROM difiere de la que descargó. Desea realizar una limpieza, o una copia de seguridad y limpieza de los datos de usuario antes de actualizar?</string>
<string name="info_no_downloads">No hay archivos en el directorio de descargas</string>
<string name="info_shared_repo">This list is dynamically created via the anonymous data sent by other users. The author of the application doesn\'t decide which repositories are being displayed, nor is responsible for any of them.</string>
</resources>
56 changes: 56 additions & 0 deletions res/values-es/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="view_versions_list">Lista de versiones</string>
<string name="view_preferences">Preferencias</string>
<string name="view_repositories">Lista de repositorios</string>
<string name="view_restore">Restoaurar una copia de seguridad</string>
<string name="view_downloads">Archivos .zip descargados</string>
<string name="view_version">Detalles de la versión</string>
<string name="check_for_updates">Comprobar actualizaciones</string>
<string name="downloaded_files">Archivos descargados</string>
<string name="settings">Ajustes...</string>
<string name="wipe_cache">Limpiar Dalvik caché</string>
<string name="wipe_data">Eliminar aplicaciones y datos</string>
<string name="backup">Copia de seguridad</string>
<string name="backup_rom">Respaldar ROM</string>
<string name="restore_rom">Restaurar la copia de seguridad de la ROM</string>
<string name="recovery">Modo recovery</string>
<string name="bootmenu">Bootmenu</string>
<string name="rom_repository">Respositorio del ROM</string>
<string name="pref_other">Otros ajustes</string>
<string name="send_anon_title">Enviar información anónima</string>
<string name="send_anon_summary">Envíe anonimamente el nombre de la ROM instalada, versión y URL al autor de la aplicación. No se usará información personal.</string>
<string name="repository_url_manual">"URL del repositorio (manual)"</string>
<string name="repository_url_manual_summary">Ingrese manualmente la URL del repositorio</string>
<string name="backup_folder_title">Carpeta de respaldos</string>
<string name="backup_folder_summary">Cambiar carpeta de destino de los respaldos, Por ejemplo de clockworkmod/backup a /sdcard/clockworkmod/backup</string>
<string name="repository_url_qr">"URL del repositorio (Código QR)"</string>
<string name="repository_url_qr_summary">"Ingresar la URL del repositorio a través del Escáner de barras (Debe estar instalado)"</string>
<string name="repository_list_summary">Una lista de ROMs disponibles y complementos</string>
<string name="OK">Realizado</string>
<string name="cancel">Cancelar</string>
<string name="yes">Si</string>
<string name="no">No</string>
<string name="wipe">Limpiar</string>
<string name="recovery_ok">Respaldado</string>
<string name="upgrade_ok">Actualización</string>
<string name="menu_info_title">Informaciones</string>
<string name="menu_settings">Ajustes</string>
<string name="menu_info_exit">Salir</string>
<string name="capital_version">Versión</string>
<string name="version_descriptor_not_found_title">Descriptor no encontrado</string>
<string name="apply_repo">Está seguro de querer ingresarlo como repositorio?</string>
<string name="alert">Alerta</string>
<string name="important">Importante</string>
<string name="delete_backup">Eliminar la copia de seguridad</string>
<string name="delete_zip">Eliminar el archivo</string>
<string name="backup_and_wipe">Realizar copia de sgeuridad y limpiar</string>
<string name="backup_only">Copia de seguridad solamente</string>
<string name="install">Instalar</string>
<string name="loading">Cargando, porfavor espere</string>
<string name="version_changelog_title">Lista de cambios :</string>

<string name="list_rom_versions">Lista de versiones de ROM</string>
<string name="start_full_download">Comenzar Descarga</string>
<string name="downloading">Descargando</string>
</resources>
58 changes: 29 additions & 29 deletions res/values/messages.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="changelog_toast">Long press to view the changelog</string>
<string name="repository_changed_toast">The ROM repository URL has been changed</string>
<string name="repository_unreachable">The ROM repository is currently unreachable. Please check it, or try again later.</string>
<string name="barcode_scanner_not_found">It seems that Barcode Scanner (com.google.zxing.client.android) is not installed.</string>
<string name="wipe_cache_message">The phone will reboot into recovery mode and it will perform the wipe.</string>
<string name="wipe_data_message">The phone will reboot into recovery mode and it will perform the wipe.</string>
<string name="backup_rom_message">The phone will reboot into recovery mode and it will perform the backup.</string>
<string name="recovery_message">The phone will reboot into recovery mode.</string>
<string name="repository_file_not_found">The file you\'re trying to download is unreachable or unavailable. Please try again later, or contact the repository maintainer.</string>
<string name="upgrade_confirmation">Do you want to apply the update right now?</string>
<string name="modname_mismatch">Your mod seems to be different from the repository one. You\'ll be able to download only the full versions.</string>
<string name="version_descriptor_not_found_message">The version descriptor file has not been found.</string>
<string name="rom_is_updated">Your ROM is already updated to the latest version.</string>
<string name="versionlist_is_empty">No version information available on the repository</string>
<string name="anon_send_message">Would you like to help the developer know more about the ROM name and version you\'ll download? You can anonymously send this data. If you want, you can find the setting under the preferences pane.</string>
<string name="repo_phone_mismatch">Your phone is not compatible with this repository.</string>
<string name="no_repository_available">There are actually no available repositories. Share yours sending anonymous data!</string>
<string name="error_model_mismatch">Attention: you\'re attempting to install a ROM not designed for your phone model. Abort.</string>
<string name="error_backup_folder_empty">You have no backups in the current backup folder.</string>
<string name="error_backup_folder_doesnt_exist">The backup folder doesn\'t appear to exist. Check it in your settings.</string>
<string name="error_download_file">There was an error downloading the file.</string>
<string name="error_json_not_found">The JSON file was not found</string>
<string name="error_json_download">There was an error downloading the JSON file</string>
<string name="error_repository_not_set">You haven\'t set the ROM repository from the settings menu. Clicking on Ok the Settings window will appear.</string>
<string name="wipe_sdext_too">Do you want to wipe the SD-EXT partition too?</string>
<string name="confirm_restore_backup">Are you sure you want to restore this backup?</string>
<string name="ask_backup_wipe">It seems that your ROM name differs from the one you\'ve downloaded. Do you want to wipe, or backup and wipe the user data before updating?</string>
<string name="info_no_downloads">There are no files in the download directory</string>
<string name="info_shared_repo">This list is dynamically created via the anonymous data sent by other users. The author of the application doesn\'t decide which repositories are being displayed, nor is responsible for any of them.</string>
<string name="changelog_toast">Mantenha pressionado para ver o registro</string>
<string name="repository_changed_toast">URL do repositório foi modificada</string>
<string name="repository_unreachable">Repositório não disponível. Verifique novamente ou tente depois.</string>
<string name="barcode_scanner_not_found">Barcode Scanner (com.google.zxing.client.android) não está instalado.</string>
<string name="wipe_cache_message">Aparelho será reinicado em Modo Recuperação para limpeza do cache.</string>
<string name="wipe_data_message">Aparelho será reinicado em Modo Recuperação para exclusão do dados.</string>
<string name="backup_rom_message">Aparelho será reinicado em Modo Recuperação para realizar backup.</string>
<string name="recovery_message">Aparelho será reinicado em Modo Recuperação.</string>
<string name="repository_file_not_found">Arquivo não disponível para baixar. Tente novamente ou procure o mantenedor do repositório.</string>
<string name="upgrade_confirmation">Deseja aplicar as atualizações agora?</string>
<string name="modname_mismatch">Sua ROM é diferente da ROM escolhida. Você poderá baixar somente versões inteiras.</string>
<string name="version_descriptor_not_found_message">A versão não foi encontrada.</string>
<string name="rom_is_updated">Você possui a última versão instalada.</string>
<string name="versionlist_is_empty">Não existem informações da versão no repositório</string>
<string name="anon_send_message">Ajude o desenvolvedor a conhecer o nome e a versão que deseja baixar. Envie os dados anonimamente. Utilize os ajustes do menu das preferências.</string>
<string name="repo_phone_mismatch">Seu aparelho não é compatível com o repositório.</string>
<string name="no_repository_available">Sem repositórios disponíveis. Compartilhe seus dados anonimamente!</string>
<string name="error_model_mismatch">Atenção: você está tentando instalar uma versão não desenvolvida para o seu aparelho. Abortado.</string>
<string name="error_backup_folder_empty">Não existem arquivos salvos na pasta de backup.</string>
<string name="error_backup_folder_doesnt_exist">A pasta de backup não existe. Confira os ajustes para backup.</string>
<string name="error_download_file">Erro ao baixar o arquivo.</string>
<string name="error_json_not_found">O arquivo JSON não foi encontrado</string>
<string name="error_json_download">Erro ao baixar o arquivo JSON</string>
<string name="error_repository_not_set">Você não escolheu um repositório de ROM. Clicando em OK o menu de ajustes será exibido.</string>
<string name="wipe_sdext_too">Você deseja formatar a partição SD-EXT também?</string>
<string name="confirm_restore_backup">Tem certeza que deseja recuperar este backup?</string>
<string name="ask_backup_wipe">O nome da ROM é diferente da ROM baixada. Você deseja fazer wipe, ou fazer backup e depois wipe antes de atualizar?</string>
<string name="info_no_downloads">Não existem arquivos na pasta de download</string>
<string name="info_shared_repo">Esta lista é criada dinamicamente pelos dados anônimos enviados pelos usuários. O autor do aplicativo não decide quais repositórios serão disponibilizados e não é responsável por isso.</string>
</resources>
Binary file added systemproperties.jar
Binary file not shown.