Reply
Thread Tools
Posts: 21 | Thanked: 8 times | Joined on Oct 2013
#1231
thanks guys!
fixed the vol- button(35 euros) and got it working ...finally!
@edp17 and @moodroid you are the men!
thanks!
now lets enjoy Jolla!
so what do we need to install for android apps?
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#1232
Anyone fancy using AD on the Nexus5 with sfos 4.4 ?




 
Posts: 21 | Thanked: 8 times | Joined on Oct 2013
#1233
@edp17, of course we want!

Last edited by marmagas; 2022-12-16 at 11:16.
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#1234
I thought you would.

Here are the steps:
  1. Symlink /usr/lib/systemd to /lib.
    Command to run in Fingerterm:
    Code:
    devel-su ln -s /usr/lib/systemd /lib
  2. Download all following rpms into ~/Donwloads:
  3. Install all downloaded rpms:
    Commands to run in Fingerterm:
    Code:
       cd ~/Downloads
       devel-su zypper install *.rpm
  4. Downgrade qt5-qtpim-contacts:
    Download it: qt5-qtpim-contacts-5.2.0+git2-1.2.1.jolla.armv7hl.rpm
    Command to run in Fingerterm:
    Code:
    devel-su zypper install --oldpackage qt5-qtpim-contacts-5.2.0+git2-1.2.1.jolla.armv7hl.rpm
  5. Change all lines in /opt/alien/system/script/start_app.sh where FAKE_HOME_PID is used
    (remove the w from one parameter)
    FAKE_HOME_PID=$(ps -efw | grep $FAKE_HOME | grep -v grep |awk '{print $2}')
    to this:
    FAKE_HOME_PID=$(ps -ef | grep $FAKE_HOME | grep -v grep |awk '{print $2}')

    For this I recommend to use vi. Example:
    - start Fingerterm
    - run following command: devel-su vi /opt/alien/system/script/start_app.sh
    - press left SHIFT+I (capital i)
    - navigate to the lines I mentioned above and remove the w
    - press ESC
    - type: qw!
    - press enter and you're done

  6. Reboot & enjoy!

Update (01/01/2023):

I've found a problem.
When "qt5-qtpim-contacts" is downgraded, neither the Messages nor the People app starts. Unfortunately, both require the latest version of "qt5-qtpim-contacts". However, aliendalvik doesn't start with that version.

Workaround:
Download the new package of qt5-qtpim-contacts-5.6.0+git15-1.6.1.jolla.armv7hl.rpm so later won't need internet access to download it again. Save it into ~/Downloads folder.
In Settings, at Android App Support, do not let the Android App Support start on bootup. Instead, start manually once the system is booted.
Then, before starting the App Support, downgrade the "qt5-qtpim-contacts" to the version the Android Support requires. (Command is at Step 4. above.)
Once the App Support started, upgrade "qt5-qtpim-contacts" to the latest version. (Command: devel-su zypper in qt5-qtpim-contacts)
With this, all, the Messages and People apps and aliendalvik will be happy and running fine.
I admit, doing this after every reboot, can be a bit too much but it can be easily done with a short .sh script that does all these tricks. Then, you can run that script with Shellex or add an icon to the App grid for it.

(I've created a little script that is doing the trick for you: startad.sh
It requires sudo installed and configured to not to ask for password.)

Last edited by edp17; 2023-01-03 at 13:23. Reason: Added qt5-qtpim-contacts-5.2.0+git2-1.2.1.jolla.armv7hl.rpm
 

The Following 2 Users Say Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#1235
Originally Posted by marmagas View Post
@edp17, of course we want!
https://i.postimg.cc/SKH9WM3Y/IMG-20...-36-30-490.jpg
You also made it! Congrats!
 

The Following User Says Thank You to edp17 For This Useful Post:
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#1236
I don't know the original battery life of the Nexus5 but I've tested my latest build with my three and a half year old battery.

Stand by time:
  • over 4 days (SIM card in it and wifi always on) After 4 days, the battery is still on 15%
  • over 6 days (SIM card in it and wifi always OFF) After 6 days, the battery is still on 5%

Normal usage:
<will coming...>

Last edited by edp17; 2022-12-29 at 10:14.
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#1237
I've found a problem with downgrading the "qt5-qtpim-contacts" package. Also figured out a workaround and added that into the post above.
 
Posts: 63 | Thanked: 106 times | Joined on Mar 2017
#1238
Yeah, I'm getting excellent battery life too
At least double what I was getting on UBPorts.
 

The Following User Says Thank You to moodroid For This Useful Post:
Posts: 3 | Thanked: 1 time | Joined on May 2023
#1239
Could anyone share the CM12.1 base ROM (cm-12.1-20160704-unofficial-hammerhead.zip) again? Or fix the mediafire share link, which is now showing file missing.

I also want to make sure that the rom above is the only working one, right? Because I tried some available ones (cm-12.1-20150901-SNAPSHOT-YOG4PAO237-hammerhead.zip, and cm-12.1-20151030-UNOFFICIAL-hammerhead.zip), both end up stucking in the google logo at boot. Wonder if it's due to the wrong base ROM.

Here is how I installed them:
Install twrp 2.8.7
Do factory reset in twrp
Flash cm12.1 (either of those two I tried)
Flash sailfish zip (e.g. sailfishos-hammerhead-release-4.4.0.72-CM121-20221207.zip)
reboot
 
edp17's Avatar
Posts: 592 | Thanked: 706 times | Joined on Jul 2019 @ UK
#1240
Originally Posted by xlucn View Post

Here is how I installed them:
Install twrp 2.8.7
Do factory reset in twrp
Flash cm12.1 (either of those two I tried)
Flash sailfish zip (e.g. sailfishos-hammerhead-release-4.4.0.72-CM121-20221207.zip)
reboot
My Sailfish Os builds ONLY work when installed as secondary rom in MultiRom.
I've uploaded the two cm bases for you:

cm-12.1-20150901-SNAPSHOT-YOG4PAO237-hammerhead.zip
cm-12.1-20160704-UNOFFICIAL-hammerhead-nocheck.zip

Last edited by edp17; 2023-05-09 at 06:18.
 

The Following User Says Thank You to edp17 For This Useful Post:
Reply

Tags
hammerhead, nexus5, sailfishos, sfdroid


 
Forum Jump


All times are GMT. The time now is 17:37.