Giter VIP home page Giter VIP logo

Comments (12)

sedrubal avatar sedrubal commented on September 9, 2024

👍

from multirommgr.

sedrubal avatar sedrubal commented on September 9, 2024

yesterday I did a dirty hack on MultiROMMgr, without understanding, how MutliROMMgr works, and was able to download kubuntu-touch ;)

diff --git a/MultiROMMgr/src/main/assets/devices.json b/MultiROMMgr/src/main/assets/devices.json
index d670ea6..5c7ca24 100644
--- a/MultiROMMgr/src/main/assets/devices.json
+++ b/MultiROMMgr/src/main/assets/devices.json
@@ -89,7 +89,7 @@
             "names": [ "hammerhead" ],
             "ubuntu_touch": {
                 "enabled": true,
-                "base_url": "http://system-image.tasemnice.eu"
+                "base_url": "http://kubuntu.plasma-mobile.org"
             },
             "official": true,
             "devices": [
diff --git a/MultiROMMgr/src/main/java/com/tassadar/multirommgr/Utils.java b/MultiROMMgr/src/main/java/com/tassadar/multirommgr/Utils.java
index 763577e..c12a273 100644
--- a/MultiROMMgr/src/main/java/com/tassadar/multirommgr/Utils.java
+++ b/MultiROMMgr/src/main/java/com/tassadar/multirommgr/Utils.java
@@ -219,6 +219,10 @@ public class Utils {
     }

     public static boolean downloadFile(String strUrl, OutputStream output, DownloadProgressListener listener, boolean useCache, long offset) throws IOException {
+        if (strUrl.equals("http://kubuntu.plasma-mobile.org/kubuntu-phone/devel-proposed2/hammerhead/index.json")) {
+            Log.e(TAG, "skip this url. I don't know why this url appears ;)");
+            strUrl = "http://kubuntu.plasma-mobile.org/kubuntu-phone/devel-proposed/hammerhead/index.json";
+        }
         InputStream in = null;
         HttpURLConnection conn = null;
         try {
diff --git a/MultiROMMgr/src/main/java/com/tassadar/multirommgr/installfragment/UbuntuManifest.java b/MultiROMMgr/src/main/java/com/tassadar/multirommgr/installfragment/UbuntuManifest.java
index ee3b8b1..1cad32f 100644
--- a/MultiROMMgr/src/main/java/com/tassadar/multirommgr/installfragment/UbuntuManifest.java
+++ b/MultiROMMgr/src/main/java/com/tassadar/multirommgr/installfragment/UbuntuManifest.java
@@ -39,7 +39,8 @@ import java.util.TreeMap;
 public class UbuntuManifest {
     private static final String TAG = "MROMMgr::UbuntuManifest";

-    public static final String DEFAULT_BASE_URL = "https://system-image.ubuntu.com";
+//    public static final String DEFAULT_BASE_URL = "https://system-image.ubuntu.com";
+    public static final String DEFAULT_BASE_URL = "http://kubuntu.plasma-mobile.org";
     public static final String CHANNELS_PATH = "/channels.json";
     public static final String NO_FLAVOUR = "*none*";

from multirommgr.

Feirlane avatar Feirlane commented on September 9, 2024

👍 I'll give it a try this afternoon and report back

from multirommgr.

bhush9 avatar bhush9 commented on September 9, 2024

@sedrubal : Did you get it to install perfectly? if yes, can you post APK somewhere?

from multirommgr.

sedrubal avatar sedrubal commented on September 9, 2024

@bhush9 : I don't know :P the download and the installation succeeded, but it wasn't booting (was like a timeout). But I don't know if there is also an other problem...

You can test it; grab it here: https://user.fablab.fau.de/~ev80uhys/multirommgr/
You have to do the same steps as you would install Ubuntu Phone (it's also named ubuntu touch after the installation ;) - very hacky)

from multirommgr.

bhush9 avatar bhush9 commented on September 9, 2024

Alright,

I did spend some time on why this is not working, so in fact your APK is fine but its recovery which is failing. Its because recovery doesn't have PGP keys for the http://kubuntu.plasma-mobile.org/

I've created patch for the recovery at https://github.com/Tasssadar/Team-Win-Recovery-Project/pull/16/files

Patched version of recovery is available on https://share.kde.org/index.php/s/OIgNSGoymLRyahg

So with this you are good to go.

:)

from multirommgr.

sedrubal avatar sedrubal commented on September 9, 2024

wow great 👍

from multirommgr.

bhush9 avatar bhush9 commented on September 9, 2024

Just random note that patched recovery is no-longer necessary.. :-)

from multirommgr.

bhush9 avatar bhush9 commented on September 9, 2024

@Tasssadar thanks for new releases for nexus. I am wondering if is it possible to integrate this in stock app somehow, so I don't have to install patched version? and can install both ubutnu touch and plasma mobile from same app :-)

from multirommgr.

jkyiv avatar jkyiv commented on September 9, 2024

I'm trying to install KDE plasma mobile on my nexus 5 but @sedrubal's APK link no longer works. Any idea where I can find that APK in late 2016? Thanks in advance.

from multirommgr.

sedrubal avatar sedrubal commented on September 9, 2024

@jkyiv I removed the APK some weeks ago, because I think this is not the way to distribute APK files. It was only for testing... 😉
You can apply the patch I postet above or anyone else can make a sane pull request...

from multirommgr.

cool00geek avatar cool00geek commented on September 9, 2024

Since kubuntu.plasma-mobile.org no longer exists and is replaced by http://neon.plasma-mobile.org/, and does not have any JSON files, how would we be able to patch the manager? I do not know if @sedrubal knows or not, but any idea how I can use these steps to install Plasma from the manager?

from multirommgr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.