This repository was archived by the owner on Apr 10, 2022. It is now read-only.
Add code for installing ZIPs directly via the app#109
Merged
DVDAndroid merged 1 commit intoDVDAndroid:wipfrom Jul 24, 2016
Merged
Add code for installing ZIPs directly via the app#109DVDAndroid merged 1 commit intoDVDAndroid:wipfrom
DVDAndroid merged 1 commit intoDVDAndroid:wipfrom
Conversation
This is compatible with all flashable Xposed ZIPs, probably even with unofficial ones. It obviously requires root access and a modifiable /system partition. Systemless is still WIP and might need a few more changes in the future. If the interface is usable, other installation methods (auto/manual flashing) could be re-implemented in the same way. Additionally, the checks could be extended to check compatiblility with the current ROM.
Author
|
You can consider this as WIP, feedback is very welcome. I tested it with this: InstallDirect.install("/sdcard/xposed.zip",new LogCallback(), true);With the following callback class: package de.robv.android.xposed.installer.installation;
import android.util.Log;
import de.robv.android.xposed.installer.XposedApp;
public class LogCallback implements InstallCallback {
@Override
public void onStarted() {
Log.i(XposedApp.TAG, "started");
}
@Override
public void onLine(String line) {
Log.i(XposedApp.TAG, "stdout: " + line);
}
@Override
public void onErrorLine(String line) {
Log.e(XposedApp.TAG, "stderr: " + line);
}
@Override
public void onDone() {
Log.i(XposedApp.TAG, "done");
}
@Override
public void onError(int exitCode, String error) {
Log.e(XposedApp.TAG, "error: " + error);
}
}The real implementation should create and display a more or less empty dialog in |
DVDAndroid
pushed a commit
that referenced
this pull request
Nov 17, 2016
This is compatible with all flashable Xposed ZIPs, probably even with unofficial ones. It obviously requires root access and a modifiable /system partition. Systemless is still WIP and might need a few more changes in the future. If the interface is usable, other installation methods (auto/manual flashing) could be re-implemented in the same way. Additionally, the checks could be extended to check compatiblility with the current ROM. (cherry picked from commit 8169223)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is compatible with all flashable Xposed ZIPs, probably even with
unofficial ones. It obviously requires root access and a modifiable
/system partition. Systemless is still WIP and might need a few more
changes in the future.
If the interface is usable, other installation methods (auto/manual
flashing) could be re-implemented in the same way. Additionally, the
checks could be extended to check compatiblility with the current ROM.