Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Run Alien Dalvik on OnePlus One

    Reply
    Page 1 of 2 | 1   2   | Next
    GalaxyNinja66 | # 1 | 2018-02-04, 12:14 | Report

    So after plenty of tinkering I have finally gotten google play store installed and a tester confirmed Google maps working. Please be warned: This has a history of crashing everything, forcing you to hard reboot, along with this, it has been shown to sometimes break sfos and require reinstalling - You should be fine after you finish though, that last one was just something that can happen mid-install.

    Make sure you are using the up to date files!!! (I didn't make any of the files in this thread)
    SFOS 2.1.3.7 bacon: https://github.com/wdehoog/sailfish-...-beta1-wdh.zip
    PROPER CM12.1 sf base: https://github.com/wdehoog/sailfish-...0218-bacon.zip
    ^^this specific base fixes the broken camera and flashlight and video with the other base^^

    Anyway, without further ado, the instructions:

    Instructions for Alien Dalvik on the OPO on sailfish os 2.1.3.7 (make sure you are using the sfos special cm12.1 build!!!)
    Download the aliendalvik rpm file from this link: https://drive.google.com/file/d/0B82...9naVVCTFE/view

    now run the following commands:
    Code:
    devel-su
    zypper in /home/nemo/Downloads/aliendalvik-1.0.46-1.armv7hl.rpm
    pkcon install-local /home/nemo/Downloads/aliendalvik-1.0.46-1.armv7hl.rpm
    systemctl stop aliendalvik
    vim /opt/alien/system/script/platform_extraenvsetup.sh
    Erase everything and replace it with this:

    Code:
    #!/bin/bash
    # Copyright 2013-2016 Myriad Group AG. All Rights Reserved.
     
    ####### 3D needs #########
    EXTRA_FILES_3D="
      lib/hw/gralloc.msm8974.so
      lib/memalloc.so
      lib/qdutils.so
      "
     
    ####### CAMERA needs #########
    EXTRA_FILES_CAMERA="
      lib/hw/camera.vendor.bacon.so
      "
     
    ####### HW CODECS needs #########
    EXTRA_FILES_HWCODEC="
      etc/media_codecs.xml
      etc/media_profiles.xml
      etc/media_codecs_google_audio.xml
      etc/media_codecs_google_telephony.xml
      etc/media_codecs_google_video.xml
      "
     
    ####### LINKING LOOP #########
    NEEDED_EXTRA_FILES="
      $EXTRA_FILES_3D
      $EXTRA_FILES_CAMERA
      $EXTRA_FILES_HWCODEC
      "
     
    for x in $NEEDED_EXTRA_FILES; do
      target=/system_jolla/$x
      link=$ANDROID_ROOT/${x/.msm8974./.default.}
      ln -sf $target $link
    done
     
    ln -sf /system_jolla/lib/hw/camera.vendor.bacon.so /system/lib/hw/camera.vendor.bacon.so
     
    # For camera socket
    mkdir -p /data/misc
    ln -s /data_jolla/misc/camera /data/misc/camera

    Now write the file and exit vim ("esc",":w", then ":q")
    Now for some more commands:
    Code:
    chmod +x /opt/alien/system/script/platform_extraenvsetup.sh
    restart your device a couple times

    now that you have everything ALMOST set up, lets do one last thing, install google play (because for some reason, installing google play makes it crash much less). This is the biggest pain the ***, since it will crash often while you try this. if a command doesn't work or glitches out, try again. Still doesn't work? reboot and try again. Due to the inconsistency of the crashes I don't really know what to do, so its mostly trial and error at this point.

    Follow the instructions on this site: https://it.toolbox.com/blogs/jeffhoo...lfish-x-102517

    Reboot, and set up your google account (prepare for constant crashing)
    once you have it set up, go ahead and reboot, and bam everything should (kind of) work. I was able to install discord and google chrome without installing Gapps, but they crashed in a loop 4/5 times (however, that other 1/5 times was very nice). For some reason the keyboard is funky in some apps. fully use-able but funky.

    If this works for you, AWESOME YAY! if not, sorry, I tried.

    EDIT: Maybe this will work on OPX, since, if I remember correctly, they use the exact same SoC, but to get working camera you would obviously have to replace "lib/hw/camera.vendor.bacon" with the lib on the OPX.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by GalaxyNinja66; 2018-02-06 at 09:19.
    The Following 4 Users Say Thank You to GalaxyNinja66 For This Useful Post:
    J4ZZ, meloferz, P@t, wred_e

     
    biketool | # 2 | 2018-02-05, 08:58 | Report

    Is the install more reliable if deep reaching store/gapps is not installed and instead uses only f-droid repository and hand installed apks?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aspergerguy | # 3 | 2018-02-05, 20:32 | Report

    Just in case anyone wants valid links, although you're on your own if looking for Alien Dalvik:
    https://github.com/wdehoog/sailfish-...mages/releases
    https://github.com/wdehoog/sailfish-...0218-bacon.zip
    https://it.toolbox.com/blogs/jeffhoo...lfish-x-102517

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to aspergerguy For This Useful Post:
    GalaxyNinja66

     
    GalaxyNinja66 | # 4 | 2018-02-06, 09:15 | Report

    Originally Posted by aspergerguy View Post
    Just in case anyone wants valid links, although you're on your own if looking for Alien Dalvik:
    https://github.com/wdehoog/sailfish-...mages/releases
    https://github.com/wdehoog/sailfish-...0218-bacon.zip
    https://it.toolbox.com/blogs/jeffhoo...lfish-x-102517
    Sorry I thought my links worked, my bad, I will put yours in the OP and thank you


    EDIT: Nevermind, mine were just formatted wrong, Ill still give a thank though.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    GalaxyNinja66 | # 5 | 2018-02-06, 09:16 | Report

    Originally Posted by biketool View Post
    Is the install more reliable if deep reaching store/gapps is not installed and instead uses only f-droid repository and hand installed apks?
    The exact opposite has been found. for some reason google play services stablaize everything, before installing them discord crashed every single time I pulled up the keyboard or even tried to navigate or hit the back button, now it works 3/5 times at least, 4/5 on a good day.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kaulian | # 6 | 2018-04-04, 11:44 | Report

    Hello,
    thanks for sharing
    Anyone try this rpm with oneplusX ?
    Before I break my main phone

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aspergerguy | # 7 | 2018-04-12, 14:13 | Report

    Originally Posted by GalaxyNinja66 View Post
    Maybe this will work on OPX, since, if I remember correctly, they use the exact same SoC, but to get working camera you would obviously have to replace "lib/hw/camera.vendor.bacon" with the lib on the OPX.
    Presumably you would need to modify on OPX to:

    ####### CAMERA needs #########
    EXTRA_FILES_CAMERA="
    lib/hw/camera.msm8909.so
    "

    ln -sf /system_jolla/lib/hw/camera.msm8909.so /system/lib/hw/camera.msm8909.so

    Edit | Forward | Quote | Quick Reply | Thanks

     
    nieldk | # 8 | 2018-04-12, 15:18 | Report

    No that’s not enough

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to nieldk For This Useful Post:
    mosen

     
    cvp | # 9 | 2018-04-12, 16:34 | Report

    Originally Posted by aspergerguy View Post
    Presumably you would need to modify on OPX to:

    ####### CAMERA needs #########
    EXTRA_FILES_CAMERA="
    lib/hw/camera.msm8909.so
    "

    ln -sf /system_jolla/lib/hw/camera.msm8909.so /system/lib/hw/camera.msm8909.so
    Last year, when I had the OPX, I tested that and many other things. Unfortunately, nothing came of it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aditya_darma | # 10 | 2018-04-26, 07:20 | Report

    Originally Posted by cvp View Post
    Last year, when I had the OPX, I tested that and many other things. Unfortunately, nothing came of it.
    I have too instal on OPX now, cant Start, but automaticly back to Stop

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout