Skip to content

Add support to install Plasma Mobile #84

Open

Description

@Feirlane

The KDE guys just released plasma phone[1]. Looking through their repos it seems like the release structure is the same as the one used by ubuntu[2]. Could you please add another card to install plasma phone through multirommgr? Thanks!

[1] http://plasma-mobile.org
[2] http://kubuntu.plasma-mobile.org/kubuntu-phone/

Activity

  1. sedrubal commented on Jul 30, 2015

    @sedrubal

    👍

  2. sedrubal commented on Jul 30, 2015

    @sedrubal

    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*";
  3. Feirlane commented on Jul 30, 2015

    @Feirlane
    Author

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

  4. bhush9 commented on Aug 7, 2015

    @bhush9

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

  5. sedrubal commented on Aug 7, 2015

    @sedrubal

    @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)

  6. bhush9 commented on Aug 9, 2015

    @bhush9

    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.

    :)

  7. sedrubal commented on Aug 9, 2015

    @sedrubal

    wow great 👍

  8. bhush9 commented on Feb 11, 2016

    @bhush9

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

  9. bhush9 commented on Feb 11, 2016

    @bhush9

    @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 :-)

  10. jkyiv commented on Dec 14, 2016

    @jkyiv

    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.

  11. sedrubal commented on Dec 15, 2016

    @sedrubal

    @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...

  12. cool00geek commented on Jan 3, 2017

    @cool00geek

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions