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)

edp17 2019-11-21 11:47

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

Originally Posted by mautz (Post 1562388)
Problem found, /home/nemo has wrong permission. It is owned by root and not by user nemo, so no write access and this is why this script fails.

Code:

devel-su chown nemo:nemo /home/nemo
solves this and setup continues.

EDIT: Haven't seen that you already fixed that :D

Thank you for finding this out!

Oh my, so probably I was root when I copied things to sparse/. (I remember that earlier I set the owner of all sub folders and files to user, but, as I did the copy in a different command line window to the one I used for the build, probably I didn't realize I was root in there.

Yes, I fixed it, but it was an accidental fix because I was not aware of the permission problem. However this explains a lot. (e.g. why the new images behaved that way.)

Maybe something similar is the reason why the camera is broken in the latest build.

Once I get home I'll double check the permission of everything in the sparse/

Thanks for the heads up!!

edp17 2019-11-21 11:53

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
@mautz
Are you still recommending to add the CONFIG_CGROUPS into the kernel?

And what about these, are this not required for the systemd-tmpfiles-setup.service?):
CONFIG_DEVTMPFS
CONFIG_TMPFS_POSIX_ACL
CONFIG_TMPFS_XATTR
CONFIG_DEVTMPFS_MOUNT

nickh 2019-11-21 14:37

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
When flashing WIP 0.12 I see an error
HTML Code:

mount: failed to mount /dev/platform/msm_sdcc.1/by-name/userdata at /data: Device or resource busy
If i continue, no additional errors but i don't get passed the bootloader then booting. I just get the Goggle bootloader logo.

edp17 2019-11-21 14:47

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

Originally Posted by nickh (Post 1562374)
Question: while flashing should i just follow the instructions in the first post but replace the sailfishos-hammerhead-release-2.0.1.11-cm121-alpha1.zip file with the latest WIP.zip?

Sorry if this has been posted/answered, didn't find this myself while looking.

I forgot to tell you that if you follow the instruction from the first post, you do not need to flash the sensorfix, sfdroid doesn't work at all, jolla store works out of the box and the Storeman also works after a 'pkcon update'. I hope this helps.

edp17 2019-11-21 14:48

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

Originally Posted by nickh (Post 1562399)
When flashing WIP 0.12 I see an error
HTML Code:

mount: failed to mount /dev/platform/msm_sdcc.1/by-name/userdata at /data: Device or resource busy
If i continue, no additional errors but i don't get passed the bootloader then booting. I just get the Goggle bootloader logo.

Are you flashing this on a Nexus 5? How? As an additional rom with Multirom or directly? What CM version are you using?

nickh 2019-11-21 14:56

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Thanks for the reply!
I am flashing on a Nexus 5. I am doing a direct install, no multirom. TWRP 3.3.1-0

Flash order:
  1. cm-12.1-20160704-UNOFFICIAL-hammerhead-nocheck.zip
  2. SFOS32012-cm12.1-wip0.12.zip (this is where the error happeneds)
  3. sensorsfix3.zip
  4. sfdroid-hammerhead-cm121-prealpha3.zip
  5. open_gapps-arm-5.1-pico-noswypelibs.zip

edp17 2019-11-21 15:00

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

Originally Posted by nickh (Post 1562403)
Thanks for the reply!
I am flashing on a Nexus 5. I am doing a direct install, no multirom. TWRP 3.3.1-0

Flash order:
  1. cm-12.1-20160704-UNOFFICIAL-hammerhead-nocheck.zip
  2. SFOS32012-cm12.1-wip0.12.zip (this is where the error happeneds)
  3. sensorsfix3.zip
  4. sfdroid-hammerhead-cm121-prealpha3.zip
  5. open_gapps-arm-5.1-pico-noswypelibs.zip

Only flash the first 2!
As I said here, sensorfix is not required, sfdroid doesn't work. Gapps cannot be installed this way.

(I am testing with Multirom, but it is good to know if works directly. :) Thank you for testing.)

nickh 2019-11-21 15:21

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I went back and tried this again, same issue with just the two flashed. However, if I unmount the /data mount in between the 2 zips, it seems to take much longer to flash the last zip, no error like before, and still no joy.

I have the 16GB version, so I was hoping not to use multirom but I can switch to mutlirom if this is not an issue you are wanting to tackle ATM.

Thanks for helping and continuing the good work of getting this working on the hammerhead!

edp17 2019-11-21 15:35

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

Originally Posted by nickh (Post 1562405)
I went back and tried this again, same issue with just the two flashed. However, if I unmount the /data mount in between the 2 zips, it seems to take much longer to flash the last zip, no error like before, and still no joy.

I have the 16GB version, so I was hoping not to use multirom but I can switch to mutlirom if this is not an issue you are wanting to tackle ATM.

Thanks for helping and continuing the good work of getting this working on the hammerhead!

Sorry for your hassle. Unfortunately I couldn't test directly on my device as I use my Nexus 5 as my main phone and I need a stable/working rom. (The 16GB should be enough to keep an android and install this rom as secondary and there should be some free space left still. I use the 32GB version but have 7 roms on it and ,not much, but a little free space too.)
However there shouldn't be a difference if you install as Multirom or direct.

I use an older TWRP (v2.8.7) because the latest one cannot flash a zip on the secondary roms.

By the way I realized that the last version in my signature is not wip0.12 but wip0.13. (I mistyped it when uploaded and updated the post in the morning rush.)

Please let me know how it goes. Thanks.

nickh 2019-11-21 18:33

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I tried a few things, (Older version of TWRP (non multi), newer versions of MultiROM) but it looks like I am going to need to find the MultiROM 2.8.7. I have searched here and over at XDA, If anyone knows where i can find the link, I would greatly appreciated it.


All times are GMT. The time now is 16:38.

vBulletin® Version 3.8.8