maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

n950 2021-03-02 13:39

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by edp17 (Post 1571124)
I add this here to help others too: Bear in mind that if you'd like to flash a zip file on a secondary Rom, you cannot do that with the TWRP_multirom_hammerhead_20160210.img. You need the older version TWRP_multirom_hammerhead_20150630.img for that.

Which is the best SFOS version?
I think it depends on what you would like to use it for. If you are happy with the native browser and apps and don't need AD, I think always the latest version is the best.
However, if you need AD, you need to stick with an older SFOS. (Although, because of the old AD, in there, many apps do not work properly or do not even start.)

Camera?
Video recording is generally broken on this base (CM12.1), so that option is not available. (In addition: on SFOS 3.3 the viewfinder displays a black screen when you take photos, this is fixed in 3.4 and 4.0)
Whatsapp will only work for texting and calling but won't work with video at all.

I cannot comment on how to install a newer android as a secondary Rom as I never needed it. You need to find a Rom that works and you trust and try it. Then let us know you experience. :)

Hi,

How to install TWRP_multirom_hammerhead_20150630.img if i already have mine? need to uninstal and reinstall old one? how to?
If i change twrp version, there is no pb with sfos already installed?

When you said older version for AD what version exactly you think about?

I have stock rom 6.0.1 now what is better? unofficial? for you.
What twrp version support LineageOS 17.1 or 18.1? Will it be compatible with sfos 2,3 and 4?

http://4pda.ru/forum/index.php?showt...#entry57516932
is this AD work with sfos 2,3 and 4? and cm12.1 / cm11 and cm13?
I think it's android 4.4 kitkat right?

How to make Whatsapp work with front camera for video call? you have a solution?

How to fix video recording in sfos? what version can do that?

Thank you
Have a good day.

edp17 2021-03-02 16:13

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by n950 (Post 1571126)
Hi,

How to install TWRP_multirom_hammerhead_20150630.img if i already have mine? need to uninstal and reinstall old one? how to?
If i change twrp version, there is no pb with sfos already installed?

When you said older version for AD what version exactly you think about?

I have stock rom 6.0.1 now what is better? unofficial? for you.
What twrp version support LineageOS 17.1 or 18.1? Will it be compatible with sfos 2,3 and 4?

http://4pda.ru/forum/index.php?showt...#entry57516932
is this AD work with sfos 2,3 and 4? and cm12.1 / cm11 and cm13?
I think it's android 4.4 kitkat right?

How to make Whatsapp work with front camera for video call? you have a solution?

How to fix video recording in sfos? what version can do that?

Thank you
Have a good day.

To install another twrp just download the img and flash it in TWRP. Then reboot into the new TWRP and you're done.

Under older sfos versions for AD I meant 3.4 or older. AD works fine on them, however, the sfos side is older so the browser engine and other stuff are also older.

I only occasionally use android on Nexus 5 and the original 6.0.1 is enough for me. I have not experimented with newer. (I've used android 8.1 and 9 on my Galaxy S2 though.)

I don't know which TWRP version supports LOS17.1 I think any of them should be sufficient to flash though. Although, you might need to repartition your device for newer android. (I had to do it on my S2 because the /system partition was not big enough for android above 7.1.) I've not done this on the Nexus 5, so I cannot help with this.

Yes, Android 4.4 is Kitkat.

Video and camera in Whatsapp will NOT work with AD 4.4. (And I don't think you'll find anybody who will or willing try to fix it.)
My solution was not using Whatsapp at all and purchasing an official device with official Android support.

I don't know how to fix video recording in this android base. It may work on cm13 base but I am not sure. Others will comment if they know.

tice 2021-03-04 20:35

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
A little bit offtopic here, but AFAIK there is no multirom capable TWRP, which can handle any ROM beyond Android 8 (or 9?). At least I could not find one. This is because the ROM file format has been changed significantly between these versions.

BTW, in case of multirom the system partition size is not an issue (only the main rom is on the system partition, the others are on userdata).

n950 2021-03-07 21:16

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Hi,

I have installed 4 roms:

- android 6
- sfos 2/3.4 and 4

Do you have SFOS 2.XX zip CM12.1 last version?

If i would like to uninstall one sfos or android rom how to do it? if i push on trash icon next to rom it will delete all files from this rom?

for all users here, cm13 base: is video recording work?

- Any help to install LineageOS 18.1 on my nexus 5 with my config:

Stock Android 6.0.1 (Marshmallow) and SFOS version 2.0.1.11 / hammerhead-SFOS-34024-CM121-20201101 / sailfishos-hammerhead-release-4.0.1.48-CM121 (MultiROM).

multirom-20160207-v33-hammerhead.zip installed

kernel_kexec_hammerhead_601 installed

TWRP_multirom_hammerhead_20150630 installed

Thank you

FranAlex 2021-03-09 19:55

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I am using SFOS 4.01.48. Today I added an extra wifi access point at work. Now i get "Server not Found" on the Sailfish browser. I can install apps and browse with webcat. How can i fix this.

edp17 2021-03-11 10:52

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by FranAlex (Post 1571174)
I am using SFOS 4.01.48. Today I added an extra wifi access point at work. Now i get "Server not Found" on the Sailfish browser. I can install apps and browse with webcat. How can i fix this.

You probably managed to download that version where the search engines were included. (That version was online for a few hours.) Please download the new version (it has the same name but the URL is different) where this is fixed.

If you still have the issue, I'll post a new image where I am experimenting with the camera.

edp17 2021-03-11 11:26

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by n950 (Post 1571154)
Hi,

I have installed 4 roms:

- android 6
- sfos 2/3.4 and 4

Do you have SFOS 2.XX zip CM12.1 last version?

If i would like to uninstall one sfos or android rom how to do it? if i push on trash icon next to rom it will delete all files from this rom?

for all users here, cm13 base: is video recording work?

- Any help to install LineageOS 18.1 on my nexus 5 with my config:

Stock Android 6.0.1 (Marshmallow) and SFOS version 2.0.1.11 / hammerhead-SFOS-34024-CM121-20201101 / sailfishos-hammerhead-release-4.0.1.48-CM121 (MultiROM).

multirom-20160207-v33-hammerhead.zip installed

kernel_kexec_hammerhead_601 installed

TWRP_multirom_hammerhead_20150630 installed

Thank you

Install SFOS 2.0:
You can find info about how to install sfos 2.0 here. (Be aware that QT5 is very old on that Rom, so many things will not work at all. Although, I have configured and been using google play on sfos 2.0.4.13 as one of my Roms. So, it depends on your situation whether you find a good use case for this version or just experiment with it.) On this website, you'll find info about how to install sfdroid, but that only work fine with sfos 1.9.x or 2.0.1.11 I don't remember which one.)


Delete in Multirom:
In multirom TWRP if you delete a Rom, that will completely remove all contents including the room itself. (I have not tried the multirom app, I always delete/add Roms in TWRP, so I recommend you to do the same.)


Camera on CM13 based Rom:
Have you checked this topic? (This is for sfos with cm13 base.) It says
"Things that don't work:
  • Video recording
  • BT calls have bad quality"

edp17 2021-03-23 09:33

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Some has reported that the silica browser cannot display websites.
First, I thought this was down to the search engines I included in the first build. Therefore, I removed and published a second build without them. (This is what currently is available for download)
I've installed the build on my Nexus 5 and tested the browser. It worked fine.

Then, others also reported the browser didn't work, so I've tested it again and realised it stopped working for me too.
I've taken a closer look into it and seen the error message:
Code:

JavaScript error: resource://gre/modules/TelemetryEnvironment.jsm, line 1253: uncaught exception: 2147500037
JavaScript error: , line 0: uncaught exception: 2147500037
JavaScript error: file:///usr/lib/mozembedlite/components/EmbedLiteSearchEngine.js, line 56: uncaught exception: 2147500037
JavaScript error: file:///usr/lib/mozembedlite/components/EmbedLiteSearchEngine.js, line 56: NS_ERROR_FAILURE: Failure'Failure' when calling method: [nsIBrowserSearchService::getEngines]
JavaScript error: , line 0: uncaught exception: 2147500037
[D] QMozSecurity::importState:243 - Security state could not be imported: empty status

This is happening when the app is started by the icon. However, when it is started from the command line (sailfish-browser), there is no error message and it does work fine.

I'll try to find a solution for this but until then, here is a workaround. (Basically, start the browser without sailjal/firejail.)
  1. Start the browser from the command line or
  2. Amend the /usr/share/applications/sailfish-browser.desktop to have Exec=/usr/bin/sailfish-browser %U in it.

edp17 2021-03-23 15:41

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Announcement!

When I started working on my hammerhead port over a year ago, my main purpose was to combine the fresh sfos functions with the AD. To achieve this I needed to use the CM12.1 base.
Since I started, Jolla issued 5 updates and I learnt a lot working on keeping the hammerhead up to date with them. In the meantime, using my knowledge gained with the hammerhead, I ported sfos to my other devices too.

Working on all those devices, keeping them all up to date with the latest updates, is a very time-consuming task. (Porting is a hobby for me.)

My free time is limited and I alone simply cannot fix all problems in all my ported devices. This means, some problems on some devices are never fixed because I jumped on a new update rather than dig into a problem and trying to fix it.

The other important thing is with the latest sfos update (4.0), AD completely has completely stopped working on the hammerhead. This means, my aim has lost its original purpose.

Based on the reasons, I have decided to stop working on some of my ports including the hammerhead (and the Galaxy S2 - i9100).
For the hammerhead, the last sfos version from me was the 4.0.1.48.
(Apologies if this is bad news and causes problems.)

It was fun, I got loads of support and got the chance to contact many kind and helpful people and I've got lots of appreciation too. Thank you all very much for these. I'd like to highlight @mautz because he helped me to get my very first hammerhead build up and running and since then he's been hosting the OTA updates for my builds.

I'll keep my other two ports the treltexx (Galaxy Note 4) and N7000 (Galaxy Note) alive and focusing on fixing some problems in them. In the future maybe I'll pick the hammerhead up again, but I don't promise anything.

Of course, I'll remain part of this community and will happily help if I can.

OhneZ 2021-06-10 16:51

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by edp17 (Post 1570296)
This instruction has helped somebody else, so you too can try.

I think the problem is the kernel.

I would go back to Android (6.0) and start everything from scratch again. (Root, multirom, then install secondary roms.)

This is how I set up and use my Nexus 5:
(I mentioned Ubuntu Touch here because I started with that first, then I moved to Sailfish OS.)

1. unlock boot loader
- adb reboot bootloader
- fastboot oem unlock
2. root (Info)
CF-Auto-Root
3. MultiRom with Ubuntu Touch repo (Info and Info about multirom):
- install 1-MultiROMMgr_withUT.apk (multirom with UbuntuTouch repo) with adb (Info):
- adb install 1-MultiROMMgr_withUT.apk
4. reboot recovery and install:
- kernel: kernel_kexec_hammerhead_601.zip
- multirom recovery: multirom-20160207-v33-hammerhead.zip
5. reboot android, start MultiRom and install Ubuntu Touch
6. SailFish OS (Info):
- boot into recovery: Advanced -> MultiROM -> Add ROM
- Choose "SailfishOS" as ROM type.
- Choose first CyanogenMod ZIP and then SailfishOS ZIP. Click install.

I have uploaded all files to my storage and made them available for you. So you don't need to hunt them together from the websites I linked in as Info at each step. However, I recommend to read them to get an overview.

I usually use one of these twrps. (With the newer one you can install Ubuntu Touch but cannot flash a zip on a secondary from. With the older you can flash a zip on a secondary from, but cannot install UT.): TWRP_multirom_hammerhead_20150630 or TWRP_multirom_hammerhead_20160210

Hello, I do not know what I am doing wrong.

My N5 had Ubuntu Touch on it and I wanted to make Sailfish OS and version 3.3.x.x on it as the only system now.
Points 1 -2 were already done (Ubuntu was running).
Do I also need point 3 and if so how ? (At the moment there is no system on the N5.
TWRP 2015 is installed on me because I only want to have Sailfish.
Point 4 is done and point 5 I do not want.
Point 6 Without error message also done, but now my N5 is stuck in the bootlogo.

what am I doing wrong ?

Thanks for your help

Greetings
Steffen

Translated with www.DeepL.com/Translator (free version)

OhneZ 2021-06-10 17:48

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Hello, I do not know what I'm doing wrong.

My N5 had Ubuntu Touch on it and I wanted to make as the only system now Sailfish OS and version 3.3.x.x on it.
Points 1 -2 were already done (Ubuntu was running).
Do I also need point 3 and if so how ? (At the moment there is no system on the N5.
TWRP 2015 is installed because I only want to have Sailfish.
Point 4 is done and point 5 I do not want.
Point 6 Without error message also done, but now my N5 is stuck in the bootlogo.

what am I doing wrong ?

Thanks for your help

Greetings
Steffen

PS: all refers to post number 1169

edp17 2021-07-16 06:54

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by OhneZ (Post 1572051)
Hello, I do not know what I'm doing wrong.

My N5 had Ubuntu Touch on it and I wanted to make as the only system now Sailfish OS and version 3.3.x.x on it.
Points 1 -2 were already done (Ubuntu was running).
Do I also need point 3 and if so how ? (At the moment there is no system on the N5.
TWRP 2015 is installed because I only want to have Sailfish.
Point 4 is done and point 5 I do not want.
Point 6 Without error message also done, but now my N5 is stuck in the bootlogo.

what am I doing wrong ?

Thanks for your help

Greetings
Steffen

PS: all refers to post number 1169

Hello,
You said currently there is no system on the N5 but you also said you installed Sailfish as a secondary rom.
I think the purpose of Multirom is to be able to install secondary roms next to the main one. This means (and this is how I understand) there must be a primary rom installed. Otherwise secondary rom will not boot. (I think.)
I recommend you to do a fresh start.
Instal a Lineage OS or any other slimmed-down Android as the main rom, then install Sailfish as a secondary rom following the instruction on post 1169. You can ignore the bit regarding UT if you don't need that.

dubliner 2021-08-09 20:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I feel a little silly, but I cannot seem to get my Nexus 5 flashed.

So, I boot the phone into recovery (TWRP).

I choose "wipe" (default options, no changes).

I choose "install".
Then, I choose the two zip files,
a) the CM12.1 one suggested here
b) the 4.0.1.48 one linked here
and flash them.

Afterwards I reboot and then the phone just sits there with the Google logo indefinitely.

What am I doing wrong?

P.S. I'm getting one error message while flashing the 4.0.1.48 zip file:
Code:

mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: Device or resource busy
Copying and running scripts seems to proceed regardless.

P.P.S. I can get rid of the error message by issuing a "umount /data" through adb shell before flashing the 4.0.1.48 zip file. Still caught at the Google logo. The LED does not come up at all.


P.P.P.S. When I flash cm13 and SF 3.0.3 everything works even though the same failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data message comes up. Thus, I assume this is not the source of the problem. The two zip files mentioned above (CM12.1 and 4.0.1.48) just do not seem to create a working system. Am I the only one affected by this?

dubliner 2021-08-13 08:53

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
After trying all the images linked here (from 3.0 through 4.0) in conjunction with the CM12.1 image mentioned on the first page of this thread, I was unable to produce even one system that would boot.

To verify, the CM12.1 works in combination with the SFOS 2.0 zip linked in the first post.

Thus, I must assume the CM12.1 I used is unsuitable for edp17's zips.

Where can I find the CM12.1 that can be installed in combination with edp17's images?

edp17 2021-10-05 15:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by dubliner (Post 1572398)
After trying all the images linked here (from 3.0 through 4.0) in conjunction with the CM12.1 image mentioned on the first page of this thread, I was unable to produce even one system that would boot.

To verify, the CM12.1 works in combination with the SFOS 2.0 zip linked in the first post.

Thus, I must assume the CM12.1 I used is unsuitable for edp17's zips.

Where can I find the CM12.1 that can be installed in combination with edp17's images?

Sorry but haven't checked this topic for a while.
I think the issue is somehow that you are installing sfos as main from on your device. At least all (who reported being affected with a similar problem that you described) were trying to use sfos as the main rom.

All builds that I made, I use it as a secondary rom and everything works without a problem with that cm12.1 base.
If you'd like to use this rom, all I can advise you is to restore your main android rom, root it, install the multiroom TWRP, install kexec kernel and then you will be able to flash this cm12.1 and sfos4.0 as a secondary rom.
I don't use sfos on my hammerhead anymore and as I've put /e/ os on it so cannot test whether I can install it as the main rom. (As the device doesn't have an external SD card, it would take lots of time and effort to back up what I have on it already. I might try that but don't promise that. ;))

sailor 2022-08-14 17:14

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by OhneZ (Post 1572049)
Hello, I do not know what I am doing wrong.

My N5 had Ubuntu Touch on it and I wanted to make Sailfish OS and version 3.3.x.x on it as the only system now.
Points 1 -2 were already done (Ubuntu was running).
Do I also need point 3 and if so how ? (At the moment there is no system on the N5.
TWRP 2015 is installed on me because I only want to have Sailfish.
Point 4 is done and point 5 I do not want.
Point 6 Without error message also done, but now my N5 is stuck in the bootlogo.

what am I doing wrong ?

Thanks for your help

Greetings
Steffen

Translated with www.DeepL.com/Translator (free version)

Unfortunately I missed the posts above and it looks development for the Nexus 5 basically stopped. But if anyone is interested it's still possible to get Sailfish run on the device. Here is a detailed guide (for the other base, CM13). However, as I mentioned, there seems to be not much going on on the development side.

edp17 2022-09-20 11:31

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by edp17 (Post 1572697)
...
All builds that I made, I use it as a secondary rom and everything works without a problem with that cm12.1 base.
If you'd like to use this rom, all I can advise you is to restore your main android rom, root it, install the multiroom TWRP, install kexec kernel and then you will be able to flash this cm12.1 and sfos4.0 as a secondary rom.
I don't use sfos on my hammerhead anymore and as I've put /e/ os on it so cannot test whether I can install it as the main rom. (As the device doesn't have an external SD card, it would take lots of time and effort to back up what I have on it already. I might try that but don't promise that. ;))

I've made some time to test my final sfos build (sfos 4.0 with cm12.1 base) for the hammerhead.
True, if is installed as the main rom, it stuck on the boot logo. (Even if I flashed the kexec kernel before installing sfos.) So, it is proven that my sfos roms for the hammerhead only can be used as secondary rom.

edp17 2022-12-07 01:06

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
https://i.ibb.co/vhGrQVM/Nexus5-sfos...07-360x640.jpg

Download link is in my signature.

Oh, and this must be installed as secondary rom in multirom. Doesn't work as stand alone install. (Sorry)

marmagas 2022-12-11 10:48

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by edp17 (Post 1574816)
https://i.ibb.co/vhGrQVM/Nexus5-sfos...07-360x640.jpg

Download link is in my signature.

Oh, and this must be installed as secondary rom in multirom. Doesn't work as stand alone install. (Sorry)

thank you mate!
all we need now,us noobs,is a detailed guide on how to install latest sailfishos on our N5 using multirom.
again thanks for your time and devotion to this project.

edp17 2022-12-11 14:13

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I think if you search for how it install multirom on Nexus 5 you'll find good instructions. ;)

To help you, here is the essence I've put together for myself:

1. Install back the stock android 6.0.1 rom as MultiRom only works with Android version 6 or less. Instruction

2. unlock boot loader. Instruction

3. Install Root: https://nexus5.gadgethacks.com/how-t...imers-0150493/
Download for root (CF-Auto-Root): CF-Auto-Root.zip

4. Install kexec kernel: (reboot into recovery and flash)
- kernel: kernel_kexec_hammerhead_601.zip
- multirom recovery: multirom-20160207-v33-hammerhead.zip

5. Install MultiRom. Instruction
- install 1.apk (multirom with UbuntuTouch repo) with adb. Instruction
- Download apk: 1-MultiROMMgr_withUT.apk (This the same 1.apk the xda site mentions, I only renamed to a meaningful name)

6. reboot into Recovery and install Sailfish as secondary rom
Install SailFish OS (Skip the Step 1: Installing cyanogenmod part, go directly to Step 2: Install Sailfish OS!): SailFish OS
- boot into recovery: Advanced -> MultiROM -> Add ROM
- Choose "SailfishOS" as ROM type.
- Choose first CyanogenMod ZIP and then SailfishOS ZIP. Click install.

I hope this helps. Good luck! (Give me a shout if you need help.)

marmagas 2022-12-12 08:44

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Tried @edp17 guide but phone stuck at Google logo.
Started fresh with step 0 and stock 6.1(latest official ROM)
Then step 1 and 2 went smooth
Then I think in step 3 something is not clear.
I installed the APK file by double clicking it.
Then followed step 4.
Then 5 and finally 6.
No way to boot.
I think step 3 should more clear and please upload the files in one place where everyone can get them.
Also for now I don't wanna use Ubuntu so in step 3 what files do we need?
Again thanks @edp17 for your time!

moodroid 2022-12-12 14:36

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Hi,

I'm also trying to follow this guide.
After doing 'adb install 1-MultiROMMgr_withUT.apk' and rebooting into recovery, I get the broken robot.
I am supposed to have already installed another recovery?

Many thanks

edp17 2022-12-13 12:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@marmagas, @moodroid

Thanks for your feedback!

I have reviewed the instruction and realized some steps were taken from my very old attempt. Sorry about that. Therefore, I've updated the steps according to my latest notes. I hope this makes the process clearer and smooth.

On the questions you raised.
I've installed multirom because wanted to try UT, and that's where I came across with that apk. I don't know and never tried whether multirom works without the apk but I do recommend to use even if you don't install UT (I don't have UT either). With the app you can boot into the selected rom from Android and assign an icon to the roms. Or once you have a working Sailfish, you can try removing the app to see whether multirom works without it. (I might try it.)

I am not sure why you get broken robot. All my notes say install apk first then kernel and recovery. However, this order can be changes so I changed in the instruction too.

Please try the new steps (you probably need to download some new files) and let me know how it goes.
If you have stock android 6 installed and bootloader unlocked, just skip the first two steps.

moodroid 2022-12-13 16:15

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Thanks very much - I've got it working :)

I still got confused about the multirom apk and ended up installing TWRP_multirom_hammerhead_20160210.img instead. I don't really get what the app part is supposed to do.

But it's working great - thanks again.

edp17 2022-12-14 06:59

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by moodroid (Post 1574842)
Thanks very much - I've got it working :)

I still got confused about the multirom apk and ended up installing TWRP_multirom_hammerhead_20160210.img instead. I don't really get what the app part is supposed to do.

But it's working great - thanks again.

I am glad you got it working. :)

With the apk and an older version of multirom TWRP, you can install Ubuntu Touch on the hammerhead. As I don't have UT (I've tried but didn't like), I use that apk for setting an icon for the secondary roms and booting into the wanted rom if I am in android. I think after boot, the apk starts by default and that gives you the screen to select which rom to boot into. Plus, on the same screen you can boot into recovery if you want.

edp17 2022-12-14 07:14

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Just in case you want to install and try UT, you will need this older version of multirom TWRP (this is NOT a zip but an img file):
TWRP_multirom_hammerhead_20150630.img

And if you would like to put back the newer one (this is NOT a zip but an img file):
TWRP_multirom_hammerhead_20160210.img

You can flash both as an img from recovery. Switching between these to recovery images is safe any time and will not impact your main or secondary roms. The MultiRom menu option is located at a different place in both and only with the older (or newer?) multirom recovery you can install UT from the apk.

marmagas 2022-12-14 07:20

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
realy glad you made it @moodroid.
please can you post your guide-steps after root.
also can you post links about the files you used(recovery,TWRP,CM)
i am really sad though,my vol- button stuck and i cant even get in fastboot bootloader screen using adb commands.
will take my phone to repair shop to fix the button,any has any tip-suggestion?
@edp17 thanks again for your time and suggestions.

edp17 2022-12-14 14:52

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by marmagas (Post 1574845)
realy glad you made it @moodroid.
please can you post your guide-steps after root.
also can you post links about the files you used(recovery,TWRP,CM)
i am really sad though,my vol- button stuck and i cant even get in fastboot bootloader screen using adb commands.
will take my phone to repair shop to fix the button,any has any tip-suggestion?
@edp17 thanks again for your time and suggestions.

I am sorry to hear that volume button broke on your device.
If you could install that apk, it gives you the option at boot to reboot into a rom, recovery or bootloader. (just tested it)

I've found this on ebay: Black On Off Power Side Volume Key Button Replacement For LG Google Nexus 5 D820

Good luck with your phone!

Instruction about replacing the buttons

(Once you removed the back cover, you can easily replace the battery. Three years ago when I purchased my Nexus 5, I replaced battery in there. I've purchased it from polarcell: Replacement Battery for LG Google Nexus 5 (D820 - D821))

moodroid 2022-12-14 16:55

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@marmagas, good luck with your phone. I followed the guide exactly with one exception... Because I couldn't get the app to work, before installing Sailfish, I installed the multirom recovery img file that edp17 linked above via TWRP and then continued as per guide.

@edp17, thanks again.

moodroid 2022-12-15 11:47

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@marmagas - so just just be 100% clear... I followed the guide in #1220
But with the following addition:
5B - download https://mega.nz/file/AbglVCQA#XmrDe4...WjLP4h4xf8uUAQ and install in TWRP using the image option within the install section.
Like I say, hope you get your phone fixed, as it's a really good OS.

marmagas 2022-12-15 22:05

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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 2022-12-16 01:08

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Anyone fancy using AD on the Nexus5 with sfos 4.4 ?


https://i.ibb.co/vVwvRmz/Nexus5-SFOS...6-576x1204.jpg

https://i.ibb.co/qFr7n3J/Nexus5-SFOS...2012-12-16.jpg

marmagas 2022-12-16 07:12

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@edp17, of course we want!
https://i.postimg.cc/SKH9WM3Y/IMG-20...-36-30-490.jpg

edp17 2022-12-16 11:34

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I thought you would. :D

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

edp17 2022-12-16 11:36

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by marmagas (Post 1574853)

You also made it! Congrats!

edp17 2022-12-20 10:04

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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...>

edp17 2023-01-01 15:30

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I've found a problem with downgrading the "qt5-qtpim-contacts" package. Also figured out a workaround and added that into the post above.

moodroid 2023-01-07 09:30

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Yeah, I'm getting excellent battery life too :)
At least double what I was getting on UBPorts.

xlucn 2023-05-08 17:08

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
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 2023-05-09 06:11

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by xlucn (Post 1575237)

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


All times are GMT. The time now is 05:54.

vBulletin® Version 3.8.8