yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Original Android Development] nyl:
Prealpha 4.2 Released - Mostly working on networking issues

https://drive.google.com/file/d/0B34Kseus4HL2aHhnaDRLckI0aTg/view?usp=sharing

Mobile data - fully working

USB Neworking/SSH - Working - makes life much easier for live debugging

WiFi - Working with one condition - you must activate manually via console as root ("devel-su" - password is set in settings -> developer tools) by inputing command "modprobe wlan"

Bluetooth - the module is inside, will investigate further why it will not activate
[OnePlus 2 Original Android Development] pranayysharma29:
It's really great to see you progressing fast and progressing well into compiling this rom.

I use my OnePlus 2 as a daily driver and would start flashing when it enters beta and is somewhere close to being stable enough.

Good luck!
[OnePlus 2 Original Android Development] Woodzrul:
This is REALLY promising and a big massive thank you to the development team. Please do continue to keep up the hard work.

Is anyone using this ROM as a daily driver yet?
[OnePlus 2 Original Android Development] nyl:
I kinda use it as my daily driver right now, no crashes at all for me a few bugs to be fixed i will consider it beta when everything hardware wise is usable
[OnePlus 2 Original Android Development] robycsw:
Wow very very beautifull

Beautiful compliment, as soon as you can use it everyday I will be the first to use it, great job brother ?
[OnePlus 2 Original Android Development] pranayysharma29:
I'll give it a shot on the weekend in a couple of days.

Keep up the effort, my man.
[OnePlus 2 Original Android Development] Nikhil Mishra:
Hello everyone

I was amazed to see this os for oneplus 2 and i also wanted and excited to try this os

So i just want to know bugs and problems faced in this rom cause i have only this device as primary

Thanks in advance
[OnePlus 2 Original Android Development] nyl:
Till i get camera and video playback working flash this zip over cm-13: https://drive.google.com/file/d/0B34Kseus4HL2dlhXcDN2MmdXSjQ/view?usp=sharing

as for web browser use webpirate from sailfish openrepos

currently facing major issues:

no video playback (gstreamer 1.0 issues)

no bluetooth

no camera

I use it as daily driver and the current bugs don't affect me much
[OnePlus 2 Original Android Development] Nikhil Mishra:
But except Bluetooth everything i wanted
[OnePlus 2 Original Android Development] Zaid313:
Testing this rom

I can test this rom if someone confirmed about presence of volte in it!!!

I know it's pre alpha rom but the bugs that you mentioned previously won't bother me
[OnePlus 2 Original Android Development] Nikhil Mishra:
Is no one here used this sailfish os in there op2?

If used then give us bugs and interesting features and camera quality and other network works fine or not?
[OnePlus 2 Original Android Development] pranayysharma29:
I do not think VoLTE would work considering the fact that this is based on cm 13 and its in pre alpha.

As mentioned by the OP, camera and Bluetooth are not working yet. That's the main reason I haven't flashed it yet. I need my camera for work. It's indispensable to an extent.

As far as what works and what doesn't, I think OP has been actively updating his progress. And that's great to see. Just see his posts.
[OnePlus 2 Original Android Development] nyl:
As I have a job and other projects in progress, for example LuneOS(opensource palm WebOS) and the experimental FuchsiaOS for OnePlus2 ( this will not get released anytime soon as this is a new propietary kernel, non linux), progress will be slow as both bugs aren't that easy to crash alone. Camera seems codec & library related, main reason will be that I use a 64 bit kernel with 32bit OS. Jolla didn't release 64 bit OS.

I would need a team on the Sailfish port (I'm just one dev on this project), the sources are released and will grant access to them in order to commit bugfixes.
[OnePlus 2 Original Android Development] vowels787:
Is there any possibility of installation of android apps. As i was read an article that we can install android app on sailfish os.
[OnePlus 2 Original Android Development] XAB235:
guys..any progress about this project?
[OnePlus 2 Original Android Development] TheJullus:
Multirom support

For all those who want to use Sailfish OS as a secondary rom in Multirom, check out these threads :)

Multirom for OP2: https://xdaforums.com/oneplus-2/development/mod-multirom-v33b-oneplus2-t3592475

How to boot Sailfish OS as a secondary rom: https://xdaforums.com/redmi-2/how-to/guide-how-to-boot-sailfish-os-secondary-t3434696

For me, after doing things that were said in that second link, I didn't even get that lockscreen problem. The experience was pretty good even thougt the OS isn't comletely ready

Also thank you all who have been developing this rom and multirom for Oneplus 2 :good:
[OnePlus 2 Original Android Development] codeVerine:
Hello bro, I've followed that second guide exactly but it didn't work for me. I did everything and when I choose sailfish os at boot time from multirom menu, phone reboots and shows bootlogo. Could you help me?

Edit:

On the second try, it worked successfully. [MENTION=1720826]nly[/MENTION] Thanks for this great port. Looking forward to your future updates on this ROM
[OnePlus 2 Original Android Development] TheJullus:
I'm sorry but I can't help you because I haven't faced that kind of problem. Without that guide I faced some kind of error message and when I did all that I just booted the OS. Hopefully somebody can help you or it starts to work :good:
[OnePlus 2 Original Android Development] TheJullus:
Update: Today I faced similar problem. Sailfish OS didn't boot and it got stuck in the Oneplus (Powered by Android) screen. None of those instructions didn't work nor flashing the Sailfish rom over it. I had to flash a completely new rom to make it work and when I was done with all told in the instructions, it worked again just fine. I'm not sure if this helps you at all but I still think that it would be useful to you or to somebody else. :angel:
[OnePlus 2 Original Android Development] TheJullus:
Installing softwares from Sailfish repos

For those who want know how to install software (like Browser or File manager) from Sailfsih Open Repos, I have instructions for you:

First choose your file location (put files via usb on PC using Media Transfer on Sailfish). Be sure to allow untrusted software in Settings, just in case. Then use code

cd ~/[YOUR LOCATION]

Then get root privileges using code

devel-su

and type in your password which you can set in Developer tools in Settings. When you have root permissions, use code

zypper in packagename.rpm

. You can also try to use

zypper in --force packagename.rpm

If it says "nothing to do", try to load a different version. It worked for me with Web Pirate. For me i486 didn't

work but armv7hl worked

Hope that helped those who have had a struggle with this because I had before I figured it out :)

Thanks to this site https://talk.maemo.org/showthread.php?t=92155
[OnePlus 2 Original Android Development] codeVerine:
Thank you bro. I will try this.
[OnePlus 2 Original Android Development] codeVerine:
One addition to Jullus post, Install 'Storeman' app from OpenRepos following Jullus instructions. Then you can install any other app from OpenRepos using Storeman app. No need to go through all these hassle again :cheers:
[OnePlus 2 Original Android Development] TheJullus:
Thanks for that software suggestion! :) I recommend to install a software called Warehouse where you can install many softwares including Storeman.

Edit: I didn't know that Storeman is similar to Warehouse. You can still use both :)
[OnePlus 2 Original Android Development] codeVerine:
[MENTION=1720826]nly[/MENTION] Fingers crossed for your next update. Please continue porting sailfish to op2. Thank you so much for your efforts
[OnePlus 2 Original Android Development] Prathamesh Kapure:
Hi dev any development going on this project? Couple of days passed and i see no development :confused: :rolleyes:
[OnePlus 2 Original Android Development] ruben.sts:
Waiting for next update , thanks a lot!
[OnePlus 2 Original Android Development] jackim.183:
Awesome work dev

I m running ur SFOS build since a week..and i am loving it..thanks for the port..
[OnePlus 2 Original Android Development] nyl:
I was thinking of some new developers to grant them acces to my GIT so they can continue on fixing up the last things on this phone :)

I'm planing to move to Oneplus 5 and port Sailfish to it :) Don't own the device yet but the day will come :)
[OnePlus 2 Original Android Development] codeVerine:
Finally [MENTION=2472431]nyl[/MENTION] is back! Please continue OP2 development until you get OP5. We really missed you here. Thank you so much for you hard work. It would definitely mean a lot to us if you could complete SFOS development for OP2.
[OnePlus 2 Original Android Development] Ankit Kabeer:
Looking forward to it
[OnePlus 2 Original Android Development] nyl:
Will try to talk with jolla to move the development to official line in order to get all the benefits sony xperia x has. Maybe start a petition for it. Be aware Jolla will ask money for official support, in that case I will have to move to kickstarter, anyone willing to pay for official sailfish rom for this device?
[OnePlus 2 Original Android Development] mad_fitter:
As long as they don't get crazy with the price, absolutely. Its a great OS when fully functional.
[OnePlus 2 Original Android Development] nyl:
Well we need to convince OnePlus also to do this, they did open sourced their propietary blobs from what I've seen.
[OnePlus 2 Original Android Development] tekktonic:
Video Playback Is Working

I got video playback working with a little bit of messing around. The problem is gstreamer1.0-droid. Remove it. Then remove gstreamer1.0-libav. Grab the version of gstreamer1.0-libav off of openrepos from ruedigergad, this is a version built with hardware decoding and h264 support and install it (you may need to do rpm manually because there's a jolla version of the package that zypper and pkcon seem to prefer). Video should work absolutely fine afterwards. If it has no video and complains that it's not a supported codec, double check that you installed the openrepos version and not the jolla one, because even using storeman it installed the jolla one sometimes. That leaves the only problem that matters to me gone :) I might poke at the camera issue a little bit too.
[OnePlus 2 Original Android Development] tekktonic:
Headphones working now too...

Hey, I've got headphone detection all set now. Still no luck with the camera though. There's a pointer in the hadk faq that I want to follow when I have some time, that may be doable.

Do people actually use bluetooth? I may look into it if only for my own convenience (much easier to hack if I can hook up a bluetooth keyboard) but if nobody else is interested I have no problem ignoring it.

I'm pretty satisfied with the port at the moment, despite the fact that there's no store: is there anything in the store that's not available period in openrepos? I don't have access to a device which has access to it, but if there's good stuff in there I could understand working towards it. The only bugs which are affecting me, as far as I know:

Web browser segfaults: definitely something to look into. Isn't the browser based on some weird architecture where it's a lipstick frontend to an invisible gecko? That could be a huge pain to debug, but I can poke my head in regardless. Other browsers *do* exist, but I don't like any of them. WebPirate is the best of the group, but it doesn't do navigation (back/forward) as far as I can tell, which is a killer.

Camera doesn't work: Like I said above, there are some pointers in the hadk FAQ I want to try.

Things I've fixed on my phone:

Video playback: Instructions above, easy fix. I don't know if using a hardware-decoding-supporting gstreamer-libav rather than gstreamer-droid is grounds for keeping you from being a "real" port, but I don't imagine so. Maybe my thinking is wrong here but it feels like wherever possible a port shouldn't rely on the underlying android.

Headphone Detection: Literally a 4 line config file from the hadk faq, attached.

/etc/ohm/plugins.d/accessories.ini:

eci-probe-delay = 2500
disable-incompatible-quirk = true
jack-match = msm8994-tomtom-mtp-snd-card Headset Jack
jack-device = /dev/input/event8

No applications for Discord and Slack: application problem. There are libpurple plugins for both of these so I may be able to do something to add them to profiles. Failing that maybe a webview based application...
[OnePlus 2 Original Android Development] Prathamesh Kapure:
Congratulations bro! Happy to see devs working on this port.. Thanks for making video and audio playback working on SFOS but i had a "noob" doubt.. :rolleyes: If i wanna play some vids and music how can i mount my Internal storage in SFOS? :confused: I just tried the guide available for OPO and i ended up in infinite Bootloop.. :( So can you plz help me and Again a big Congratulations and thank you for your support.. :)
[OnePlus 2 Original Android Development] tekktonic:
Weird, I didn't get an email notification despite having the thread watched..

You don't need to mount your internal storage, your normal android storage lives somewhere, I think in /data? I just did a reflash so I'll run into it sooner or later and update the post then.

EDIT: /data/media/0/ . You need to be root to read the filesystem to get there, but you can run a chmod command to allow the nemo user to read it.
[OnePlus 2 Original Android Development] tekktonic:
An important thing to note when you're using your storage, by the way: don't keep any data you care about in your sailfish data. Reflashing the sailfish rom wipes out /home/nemo. Also, since it's not mentioned in the top posts: multirom works, I have sailfish set as my primary rom. However, do NOT do a wipe, it'll render sailfish unbootable until you reflash.
[OnePlus 2 Original Android Development] Prathamesh Kapure:
Tysm bro for your help...:good: :)
[OnePlus 2 Original Android Development] centinal4052:
please tell me that can i install it as a daily driver????????????? I am bored wid android and this rom seems much fascinating.
[OnePlus 2 Original Android Development] Nikhil Mishra:
Nope actually not but if you want to try you can it can be usable
[OnePlus 2 Original Android Development] centinal4052:
installed... tried.... uninstalled.... :p
[OnePlus 2 Original Android Development] Prathamesh Kapure:
Hi Buddy, Need your help.. You on Telegram/or Insta? :confused:
[OnePlus 2 Original Android Development] TheJullus:
In WebPirate back/forward is hidden in "the web adress bar". You should slide the bar to left to go back and right to go fiorward. Still not the easiest way but hopefully it helps :)

Thank you for your work. I'll try to test your suggestions soon. Hopefully I understand how to do it because I'm such a noob.
[OnePlus 2 Original Android Development] Prathamesh Kapure:
Heya Guyz, would like to know that if anybody succeeded in Playing Music of Android OS in SFOS :confused: As mentioned by [MENTION=8729044]tekktonic[/MENTION] I couldn't understand and hence I'm unable to read my Data in SFOS. :crying: Any Help would be appreciated :)
[OnePlus 2 Original Android Development] tomauswustrowDK:
Just tried on my oneplus 2... Beautiful os and very snappy but too far away for being my daily driver. Too sad jolla decided to use Sony only for now.
[OnePlus 2 Original Android Development] nyl:
Have fun :)

Flash - CM-13: Use this version - https://drive.google.com/open?id=0B3...W1lYVktOUkzMFU

Flash - Latest SFOS zip: https://drive.google.com/open?id=1br-yp1eQ5Xy94MkchbJaCMEbVCbe-Off

[YOUTUBE]https://www.youtube.com/watch?v=l6PKa90JLjI[/YOUTUBE]
[OnePlus 2 Original Android Development] neelsolanki:
Amazing work..n please take a look at youtube link you posted... It dosent work
[OnePlus 2 Original Android Development] nyl:
The video works i checked doesn't give error in my browser
[OnePlus 2 Original Android Development] nyl:
It might be out very soon :) hope i have time to work on the stuff at hand: cameras configuration, textures lib (browser and gallery not working properly) and proximity sensor. I currently use it as daily driver. (Also with Android Support, but you won't see that in my releases, pay jolla the license fee for alien dalvik and don't pirate). As for bluetooth does anyone use it? It will get tricky that one. The ROM is stable and no lag even if it says pre beta :) might add some preinstalled apps :)

Edit: Prebeta 3 Stable is out - i mean it rly stable :D

https://www.youtube.com/watch?v=_jultWxj9sI
[OnePlus 2 Original Android Development] dj icony:
Great job so far! Thanks for your effort.

I'll be trying it out the next days and let you know about bugs I encounter.

Not working:

Orientation switching (tried in calc)
[OnePlus 2 Original Android Development] SkyeNymph:
I tried it, but I coutdn't find anywhere that explained how to get alien dalvik nor could I find any apps whatsoever in the Jolla store aside from the basically pre-installed apps (despite about an hour of googling, all I could find was forums where people said I need it, but never how to install it). I also noticed none of my existing pictures or files showed up in documents or gallery. I'm assuming for the pictures and files I'm just going to have to move them all to my computer and then transfer them back afterwards, but I need the app support. Is there a resource explaining how to get alien dalvik?

Oh also, is there any chance that I could ever hope to be able to use the hardware buttons?
[OnePlus 2 Original Android Development] nyl:
These are user installable software, thats why I don't provide them in my builds as this will be merged into official hybris, sailfish os repos and ofc Halium https://halium.org/

Alien Dalvik is a NONFREE licensed app only for jolla official devices. Downloading it from internet and installing it on another community device without paying the android support license = piracy.

I know Jolla's way to provide it in appstore only for official devices is a stupid decision. They should provide it as pay and install. I might make a petition even tough i don't know how myriad will agree to the petition.

You can search Anbox opensource implementation. Aliendalvik and Anbox are like what is wine for linux :)

https://youtu.be/xu8x0x1X9OM

As for more apps you need to install the opensource app store called Storeman from openrepos:

https://openrepos.net/sites/default/files/packages/6416/harbour-storeman-0.1.5-1.armv7hl.rpm
[OnePlus 2 Original Android Development] SkyeNymph:
Thank you very much! I am still unable to find any instructions on anbox however, unless of course sailfish supports snaps
[OnePlus 2 Original Android Development] nyl:
https://github.com/Sailfish-On-Vince/anbox

It's still work in progress. All sources are there for anbox on sailfishos3

Regarding some "bugs" sensors framework is not implemented yet in my port so it's not rly a bug :) just needs implementation like bluetooth stack also.

Those need more documentation and proper implementation.

The camera needs some configuration files but i have some segmentation fault that need debugging.
[OnePlus 2 Original Android Development] SkyeNymph:
Ah so I'd have to compile it from source then. Okay, in that case I'll wait until android support is implemented in hybris, it's hard to find it worth it to use the better operating system when it doesn't even have a decent web browser after all, and I'm too lazy to build this from source and even if I wasn't I don't think either my phone or my computer can handle the work anymore. Still though I will keep an eye on it sailfish does look interesting, and it ran smooth as could be on my phone and treated my battery much better.
[OnePlus 2 Original Android Development] nyl:
When i have time will continue my work and implement more stuff into it. Anbox should be a separate project and i think we need a separete category for sailfishos, ubuntu touch and plasma mobile :).

Hope i find the issue causing segfaults and give camera switching and also the real quality of the cameras.

After that is implemented i will release a new version. Also there will be a system update to Sailfish OS 3.0.3.10.

Next to be implemented:

- Gsensor for scren rotation

- Proximity sensor for calls so you don't have to turn off screen manually when in call.

- Bluetooth stack - this is a tricky one :(

Regarding fingerprint sensor - might have to rebase sailfishos on CM16 source to implement it. at least that i was told. Will look further into it.
[OnePlus 2 Original Android Development] Saaszory:
I like your hard work. My dream was to use Sailfish on my phone. :) Build Is really smooth And I love it, but to use it on daily bases, I need to have some social apps like Messenger (used Sailbook, but Its Slow and it has weird usability with no notifications And sometimes Buggy), WhatsApp And (not priority, but would be cool) instagram. I know There Are some alternatives already, but they Are not working anymore or have some issues. It There Is a way to instal working aliendalvik or implement Anbox. It would be fkn Great And I would toss Android Away. :) Keep going your hard work, you have my admiration. :)
[OnePlus 2 Original Android Development] SkyeNymph:
I'll keep my eyes on it, sailfish OS is definitely something that interest me, especially the privacy.!
[OnePlus 2 Original Android Development] nyl:
Currently investigating the camera service issue

https://pastebin.com/HxV31Qpz
[OnePlus 2 Original Android Development] malerocks:
Basic question here. Is it necessary to flash both the CM and the sailfish zip? If I want only sailfish can I just flash that file?
[OnePlus 2 Original Android Development] nyl:
You need to have cm13 zip flashed for 100% succes rate on booting sailfish
[OnePlus 2 Original Android Development] malerocks:
Thanks. What happens when you release an update? Do I just flash the sailfish file again or do I have to flash both? And does it retain the settings / setup on the phone or do I need to start over from scratch?
[OnePlus 2 Original Android Development] nyl:
Flash over current release. Will add OTA updates in the future
[OnePlus 2 Original Android Development] malerocks:
Thanks. Just the sailfish file I assume?
[OnePlus 2 Original Android Development] nyl:
Yes just the sailfish file :)
[OnePlus 2 Original Android Development] malerocks:
Thanks mate. Also thanks for the awesome work!

---------- Post added at 11:49 AM ---------- Previous post was at 11:47 AM ----------

I noticed that auto orientation does not work? Anyone else face this?
[OnePlus 2 Original Android Development] Saaszory:
Hello, Is there any progress in this project? Are you still working on update, nyl? I was just wondering. :) Thank you!
[OnePlus 2 Original Android Development] SkyeNymph:
I would like to know this too, I'm looking forward to being able to move to sailfish instead of Android
[OnePlus 2 Original Android Development] AndroFluffy:
Please do you plan to fix the sensors?? It’s the only thing left! Please!
[Nexus 7 (2013) Q&A] potter3390:
Hi, i have several problem or maeby is the same. I'm trying to go back so stock system and i can't i already reflash al *.img except system i always have errors: "FAILED (data transfer failure (Unknown error))" and only with system, i already install twrp and pass with adb push the system.img to the tablet, but twrp doesn't allow me to flash to system partition.

So i have some doubts:

1) is there a way to know if the memory is damage in some way?, i mean physicaly damage.

2) can i flash system partition from the device? twrp or any other ways?
[Lenovo P2 Guides, News, & Discussion] veimus:
Hi, I just found a way to increase low in-call volume on custom ROM (i'm using AICP) but it should work on any custom ROM with this problem.

Look here: https://xdaforums.com/showpost.php?p=72514202&postcount=152 :good::good:
[Lenovo P2 Guides, News, & Discussion] widewozzy:
Difference between "mixerpath.xml" and "mixerpath_mtp.xml" ?

Confused between RX1,2,3,IIR1,2,3.....

Need a bit help.