├── settings.gradle ├── app ├── libs │ └── AndroidHiddenAPI.jar ├── src │ └── main │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── bool.xml │ │ │ ├── dimens.xml │ │ │ ├── attrs.xml │ │ │ ├── donottranslate.xml │ │ │ ├── colors.xml │ │ │ ├── arrays.xml │ │ │ └── styles.xml │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ ├── values-sw600dp │ │ │ ├── bool.xml │ │ │ └── styles.xml │ │ ├── layout │ │ │ ├── color_icon_preview.xml │ │ │ ├── activity_container.xml │ │ │ ├── list_sticky_header_download.xml │ │ │ ├── toolbar.xml │ │ │ ├── activity_download_details_not_found.xml │ │ │ ├── framework_zip_item.xml │ │ │ ├── framework_zip_group.xml │ │ │ ├── download_moreinfo.xml │ │ │ ├── activity_welcome.xml │ │ │ ├── xposed_not_active_note.xml │ │ │ ├── download_details.xml │ │ │ ├── icon_preference_item.xml │ │ │ ├── download_view.xml │ │ │ ├── list_item_download.xml │ │ │ ├── tab_logs.xml │ │ │ ├── activity_download_details.xml │ │ │ ├── tab_downloader.xml │ │ │ ├── activity_installation.xml │ │ │ ├── list_item_module.xml │ │ │ └── list_item_version.xml │ │ ├── drawable │ │ │ ├── toolbar_shadow.xml │ │ │ ├── ic_flash.xml │ │ │ ├── background_card_dark.xml │ │ │ ├── background_card_light.xml │ │ │ ├── background_card_black.xml │ │ │ ├── ic_verified.xml │ │ │ ├── ic_phone.xml │ │ │ ├── background_card_normal_light.xml │ │ │ ├── background_card_normal_black.xml │ │ │ ├── background_card_normal_dark.xml │ │ │ ├── background_card_pressed_light.xml │ │ │ ├── background_card_pressed_black.xml │ │ │ └── background_card_pressed_dark.xml │ │ ├── xml │ │ │ ├── file_paths.xml │ │ │ ├── module_prefs.xml │ │ │ └── prefs.xml │ │ ├── drawable-anydpi │ │ │ ├── ic_send.xml │ │ │ ├── ic_warning.xml │ │ │ ├── ic_menu_sort.xml │ │ │ ├── ic_warning_grey.xml │ │ │ ├── ic_bookmark.xml │ │ │ ├── ic_delete.xml │ │ │ ├── ic_close.xml │ │ │ ├── ic_error.xml │ │ │ ├── ic_no_image.xml │ │ │ ├── ic_scroll_down.xml │ │ │ ├── ic_scroll_top.xml │ │ │ ├── ic_bookmark_outline.xml │ │ │ ├── ic_check_circle.xml │ │ │ ├── ic_person.xml │ │ │ ├── ic_chip.xml │ │ │ ├── ic_description.xml │ │ │ ├── ic_info.xml │ │ │ ├── ic_nav_downloads.xml │ │ │ ├── ic_save.xml │ │ │ ├── ic_nav_about.xml │ │ │ ├── ic_menu_refresh.xml │ │ │ ├── ic_menu_search.xml │ │ │ ├── ic_help.xml │ │ │ ├── ic_nav_support.xml │ │ │ ├── ic_cloud.xml │ │ │ ├── ic_notification.xml │ │ │ ├── ic_nav_modules.xml │ │ │ ├── ic_cloud_download.xml │ │ │ ├── ic_donate.xml │ │ │ ├── ic_cloud_off.xml │ │ │ ├── ic_action_share.xml │ │ │ ├── ic_nav_logs.xml │ │ │ ├── ic_android.xml │ │ │ ├── ic_github.xml │ │ │ ├── ic_nav_settings.xml │ │ │ ├── ic_language.xml │ │ │ ├── ic_no_connection.xml │ │ │ └── ic_nav_install.xml │ │ ├── animator │ │ │ ├── fade_in.xml │ │ │ └── fade_out.xml │ │ ├── menu │ │ │ ├── context_menu_modules_bookmark.xml │ │ │ ├── menu_download.xml │ │ │ ├── menu_download_details.xml │ │ │ ├── context_menu_modules.xml │ │ │ ├── menu_installer.xml │ │ │ ├── menu_logs.xml │ │ │ ├── menu_modules.xml │ │ │ └── drawer.xml │ │ ├── values-sw600dp-v21 │ │ │ └── styles.xml │ │ ├── layout-v23 │ │ │ └── list_item_download.xml │ │ ├── values-v21 │ │ │ └── styles.xml │ │ ├── values-gl │ │ │ └── strings.xml │ │ ├── values-ar │ │ │ └── strings.xml │ │ ├── values-id │ │ │ └── strings.xml │ │ └── values-ko │ │ │ └── strings.xml │ │ ├── java │ │ └── de │ │ │ └── robv │ │ │ └── android │ │ │ └── xposed │ │ │ └── installer │ │ │ ├── util │ │ │ ├── RunnableWithParam.java │ │ │ ├── chrome │ │ │ │ ├── ServiceConnectionCallback.java │ │ │ │ ├── CustomTabsURLSpan.java │ │ │ │ ├── ServiceConnection.java │ │ │ │ ├── LinkTransformationMethod.java │ │ │ │ └── CustomTabActivityHelper.java │ │ │ ├── ThemeUtil.java │ │ │ ├── OnlineLoader.java │ │ │ ├── HashUtil.java │ │ │ ├── AssetUtil.java │ │ │ ├── NavUtil.java │ │ │ ├── Loader.java │ │ │ └── PrefixedSharedPreferences.java │ │ │ ├── repo │ │ │ ├── Repository.java │ │ │ ├── ModuleVersion.java │ │ │ ├── Module.java │ │ │ └── ReleaseType.java │ │ │ ├── widget │ │ │ ├── ListPreferenceSummaryFix.java │ │ │ ├── IntegerListPreference.java │ │ │ └── IconListPreference.java │ │ │ ├── receivers │ │ │ ├── DownloadReceiver.java │ │ │ └── PackageChangeReceiver.java │ │ │ ├── installation │ │ │ ├── FlashCallback.java │ │ │ ├── Flashable.java │ │ │ ├── FlashRecoveryAuto.java │ │ │ └── FlashDirectly.java │ │ │ ├── XposedBaseActivity.java │ │ │ ├── DownloadDetailsSettingsFragment.java │ │ │ ├── SupportActivity.java │ │ │ └── DownloadDetailsFragment.java │ │ └── AndroidManifest.xml ├── lint.xml ├── proguard-rules.pro └── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── XposedInstaller.iml ├── gradlew.bat └── gradlew /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/libs/AndroidHiddenAPI.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/app/libs/AndroidHiddenAPI.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values/bool.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/android-hacker/XposedInstaller/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp/bool.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | true 5 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.apk 2 | *.ap_ 3 | *.iml 4 | *.dex 5 | *.class 6 | .idea/ 7 | .gradle/ 8 | build/ 9 | local.properties 10 | app/lint.xml 11 | app/proguard-project.txt -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/util/RunnableWithParam.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.util; 2 | 3 | public interface RunnableWithParam { 4 | public void run(T param); 5 | } 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/color_icon_preview.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Oct 29 16:17:02 CET 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/toolbar_shadow.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/xml/file_paths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/repo/Repository.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.repo; 2 | 3 | public class Repository { 4 | public String name; 5 | public String url; 6 | public boolean isPartial = false; 7 | public String partialUrl; 8 | public String version; 9 | 10 | /*package*/ Repository() {} 11 | } 12 | -------------------------------------------------------------------------------- /app/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_flash.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_send.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_light.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_black.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_warning.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_menu_sort.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_warning_grey.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_bookmark.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/animator/fade_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/animator/fade_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_delete.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_close.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_error.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_no_image.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_scroll_down.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_scroll_top.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_bookmark_outline.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_verified.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_check_circle.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_person.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_chip.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_phone.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4dp 4 | 5 | 6 | 0dp 7 | 264dp 8 | 148dp 9 | 650dp 10 | 500dp 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_description.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_info.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_nav_downloads.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_save.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_nav_about.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/context_menu_modules_bookmark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 11 | 12 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/repo/ModuleVersion.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.repo; 2 | 3 | public class ModuleVersion { 4 | public final Module module; 5 | public String name; 6 | public int code; 7 | public String downloadLink; 8 | public String md5sum; 9 | public String changelog; 10 | public boolean changelogIsHtml = false; 11 | public ReleaseType relType = ReleaseType.STABLE; 12 | public long uploaded = -1; 13 | 14 | /* package */ ModuleVersion(Module module) { 15 | this.module = module; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_menu_refresh.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_menu_search.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_help.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_nav_support.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_container.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_cloud.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/xml/module_prefs.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/util/chrome/ServiceConnectionCallback.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.util.chrome; 2 | 3 | import android.support.customtabs.CustomTabsClient; 4 | 5 | /** 6 | * Callback for events when connecting and disconnecting from Custom Tabs 7 | * Service. 8 | */ 9 | public interface ServiceConnectionCallback { 10 | /** 11 | * Called when the service is connected. 12 | * 13 | * @param client 14 | * a CustomTabsClient 15 | */ 16 | void onServiceConnected(CustomTabsClient client); 17 | 18 | /** 19 | * Called when the service is disconnected. 20 | */ 21 | void onServiceDisconnected(); 22 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_notification.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_nav_modules.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_cloud_download.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_download.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/values/donottranslate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Xposed Installer 5 | http://forum.xda-developers.com/xposed/xposed-faq-issues-t2735540 6 | http://repo.xposed.info/donate 7 | https://github.com/rovo89 8 | http://forum.xda-developers.com/xposed 9 | Android %1$s (%2$s, API %3$d) 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/util/chrome/CustomTabsURLSpan.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.util.chrome; 2 | 3 | import android.app.Activity; 4 | import android.text.style.URLSpan; 5 | import android.view.View; 6 | 7 | import de.robv.android.xposed.installer.util.NavUtil; 8 | 9 | /** 10 | * Created by Nikola D. on 12/23/2015. 11 | */ 12 | public class CustomTabsURLSpan extends URLSpan { 13 | 14 | private Activity activity; 15 | 16 | public CustomTabsURLSpan(Activity activity, String url) { 17 | super(url); 18 | this.activity = activity; 19 | } 20 | 21 | @Override 22 | public void onClick(View widget) { 23 | String url = getURL(); 24 | NavUtil.startURL(activity, url); 25 | } 26 | } -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/widget/ListPreferenceSummaryFix.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.widget; 2 | 3 | import android.content.Context; 4 | import android.util.AttributeSet; 5 | 6 | import com.afollestad.materialdialogs.prefs.MaterialListPreference; 7 | 8 | public class ListPreferenceSummaryFix extends MaterialListPreference { 9 | public ListPreferenceSummaryFix(Context context) { 10 | super(context); 11 | } 12 | 13 | public ListPreferenceSummaryFix(Context context, AttributeSet attrs) { 14 | super(context, attrs); 15 | } 16 | 17 | @Override 18 | public void setValue(String value) { 19 | super.setValue(value); 20 | notifyChanged(); 21 | } 22 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_donate.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_cloud_off.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_action_share.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_nav_logs.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_sticky_header_download.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_download_details.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 16 | 17 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/menu/context_menu_modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 10 | 13 | 16 | 19 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/receivers/DownloadReceiver.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.receivers; 2 | 3 | import android.app.DownloadManager; 4 | import android.content.BroadcastReceiver; 5 | import android.content.Context; 6 | import android.content.Intent; 7 | 8 | import de.robv.android.xposed.installer.util.DownloadsUtil; 9 | 10 | public class DownloadReceiver extends BroadcastReceiver { 11 | @Override 12 | public void onReceive(final Context context, final Intent intent) { 13 | String action = intent.getAction(); 14 | if (DownloadManager.ACTION_DOWNLOAD_COMPLETE.equals(action)) { 15 | long downloadId = intent.getLongExtra(DownloadManager.EXTRA_DOWNLOAD_ID, 0); 16 | DownloadsUtil.triggerDownloadFinishedCallback(context, downloadId); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/installation/FlashCallback.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.installation; 2 | 3 | import de.robv.android.xposed.installer.util.RootUtil; 4 | import eu.chainfire.libsuperuser.Shell; 5 | 6 | public interface FlashCallback extends RootUtil.LineCallback { 7 | void onStarted(); 8 | void onDone(); 9 | void onError(int exitCode, String error); 10 | 11 | int OK = 0; 12 | int ERROR_GENERIC = 1; 13 | 14 | // SU errors 15 | int ERROR_TIMEOUT = Shell.OnCommandResultListener.WATCHDOG_EXIT; 16 | int ERROR_SHELL_DIED = Shell.OnCommandResultListener.SHELL_DIED; 17 | int ERROR_NO_ROOT_ACCESS = Shell.OnCommandResultListener.SHELL_EXEC_FAILED; 18 | 19 | // ZIP errors 20 | int ERROR_INVALID_ZIP = -100; 21 | int ERROR_NOT_FLASHABLE_IN_APP = -101; 22 | int ERROR_INSTALLER_NEEDS_UPDATE = -102; 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/repo/Module.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.repo; 2 | 3 | import android.util.Pair; 4 | 5 | import java.util.ArrayList; 6 | import java.util.LinkedList; 7 | import java.util.List; 8 | 9 | public class Module { 10 | public final Repository repository; 11 | public final List> moreInfo = new LinkedList>(); 12 | public final List versions = new ArrayList(); 13 | public final List screenshots = new ArrayList(); 14 | public String packageName; 15 | public String name; 16 | public String summary; 17 | public String description; 18 | public boolean descriptionIsHtml = false; 19 | public String author; 20 | public String support; 21 | public long created = -1; 22 | public long updated = -1; 23 | 24 | /* package */ Module(Repository repository) { 25 | this.repository = repository; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_android.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/layout/toolbar.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/java/de/robv/android/xposed/installer/repo/ReleaseType.java: -------------------------------------------------------------------------------- 1 | package de.robv.android.xposed.installer.repo; 2 | 3 | import de.robv.android.xposed.installer.R; 4 | 5 | public enum ReleaseType { 6 | STABLE(R.string.reltype_stable), 7 | BETA(R.string.reltype_beta), 8 | EXPERIMENTAL(R.string.reltype_experimental); 9 | 10 | private static final ReleaseType[] sValuesCache = values(); 11 | private final int mTitleId; 12 | 13 | ReleaseType(int titleId) { 14 | mTitleId = titleId; 15 | } 16 | 17 | public static ReleaseType fromString(String value) { 18 | if (value == null) { 19 | return STABLE; 20 | } 21 | switch (value) { 22 | case "stable": 23 | default: 24 | return STABLE; 25 | case "beta": 26 | return BETA; 27 | case "experimental": 28 | return EXPERIMENTAL; 29 | } 30 | } 31 | 32 | public static ReleaseType fromOrdinal(int ordinal) { 33 | return sValuesCache[ordinal]; 34 | } 35 | 36 | public int getTitleId() { 37 | return mTitleId; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /XposedInstaller.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_normal_light.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_normal_black.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_normal_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_pressed_light.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_pressed_black.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/background_card_pressed_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-anydpi/ic_github.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_installer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 15 | 16 | 20 | 21 | 22 | 23 | 27 | 28 | 29 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_download_details_not_found.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 14 | 15 | 22 | 23 |