maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS on Oneplus 3 (https://talk.maemo.org/showthread.php?t=99114)

elfmagidev 2017-08-07 13:54

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by marmistrz (Post 1531904)
So our paths cross again :)
Can you check if my fixup-mountpoints patch is valid for 3T too?

From my OP3T that appears to be valid.

elfmagidev 2017-08-16 21:33

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by marmistrz (Post 1531894)
I've started working on the OnePlus3 port: https://github.com/mer-hybris/hybris-boot/pull/111
Let's see how far I'll go :)

I'm basing on this image: cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J6-oneplus3.zip

Checklist:
  • [DONE] Build hybris-hal
  • [DONE] Fix kernel configuration
  • [DONE] Package Android HAL
  • [DONE] Build the SFOS rootfs
  • Test the image

If you need any help testing I have the OP3T I can use.

meemorph 2017-08-20 13:17

Re: SailfishOS on Oneplus 3
 
I took a look on github but could not find an image for testing. What do I have to do to start testing it?

marmistrz 2017-08-21 10:22

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by meemorph (Post 1532923)
I took a look on github but could not find an image for testing. What do I have to do to start testing it?

I'll upload the image in the evening. See the updated post for the current state.

marmistrz 2017-08-22 18:25

Re: SailfishOS on Oneplus 3
 
Image uploaded. See post #4.
Let me know if you have any idea on the connectivity issue, it looks like some kernel issue to me, but no further ideas on my side :(

f1refly 2017-08-25 15:08

Re: SailfishOS on Oneplus 3
 
I tried installing your build to give you some more logs and to see if i can do anything to help you with it, but my phone wont even boot the cyanogenmod image. I guess this is an error with the firmware version, but i'm not sure. Any ideas about that?

marmistrz 2017-08-25 16:17

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by f1refly (Post 1533251)
I tried installing your build to give you some more logs and to see if i can do anything to help you with it, but my phone wont even boot the cyanogenmod image. I guess this is an error with the firmware version, but i'm not sure. Any ideas about that?

OnePlus 3 or 3T? Which CM build? Is the bootloader unlocked?

f1refly 2017-08-25 18:34

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by marmistrz (Post 1533261)
OnePlus 3 or 3T? Which CM build? Is the bootloader unlocked?

I just flashed the first oos version provided by oneplus and cyanogenmod (the version you base on, pulled from archive.org) is booting now. I don't have your iso with me, but will try out later. My phone is a oneplus 3 with unlocked bootloader and was running lineage before i started trying to flash your sailfish build.

f1refly 2017-08-25 18:55

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by marmistrz (Post 1533261)
OnePlus 3 or 3T? Which CM build? Is the bootloader unlocked?

I just flashed the first oos version provided by oneplus and cyanogenmod (the version you base on, pulled from archive.org) is booting now. I don't have your iso with me, but will try out later. My phone is a oneplus 3 with unlocked bootloader and was running lineage before i started trying to flash your sailfish build.

f1refly 2017-08-25 22:28

Re: SailfishOS on Oneplus 3
 
Quote:

Originally Posted by marmistrz (Post 1533261)
OnePlus 3 or 3T? Which CM build? Is the bootloader unlocked?

Ok, to answer your questions:
My phone is a onplus 3, bootloader is unlocked.

I had some free time today and fiddled a bit around, i wrote some of the things i found noteworthy into a short guide:

Note: As a new member i'm not allowed to post too many links, although i think that they're very appropriate in this post. I've confuscated them a little bit and hope i wont get banned for it

1. To get cyanogenmod to boot, one has to flash the oldest oxygenos zip by oneplus (or maybe a newer one? My internet speed is very slow in the hotel i'm at, so downloading them is a pain), found here [downloads.oneplus dot net/oneplus-3/oneplus_3_oxygenos_3.1.2/] (bottom of the site, red download button). This will get you the appropriate firmware for the old os
2. The cyanogenmod base version can be obtained at archive.org [archive dot org/download/cmarchive_snapshots/cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J6-oneplus3.zip]. This has to be flashed first.
3. After flashing cyanogenmod, /data/ has to be unmounted in the TWRP mount menu, otherwise the sfos install script will throw an error. (If in doubt, also unmount /cache/, although i had no problems with it)
4. Now sailfishos is ready to flash. Just install the zip and reboot your phone

Note: Something in this process sets the device version to "oneplus3". The original firmware image however expects a capitalized "Oneplus3" and refuses to install. If this happens, just use an archive explorer to remove the first line in the updater-script found at /META-INF/com/google/android. This should be save if you've picked the right zip for your device.

With this steps the install process finished smoothly without errors on my device. This doesn't do it for me though, the boot process doesn't start and im stuck at the white oneplus logo. If anybody could tell me what i did wrong i could change the little guide accordingly.


All times are GMT. The time now is 09:49.

vBulletin® Version 3.8.8