yashsingh1/xdaforums huggingface dataset:
[Nexus 5X General] m4r0v3r:
good stuff:

Hmm at the moment its the fact its unplugged from the google eco system ie your data is your data. has a completely different UX, some see it as bad but I much prefer it. Real multitasking you can leave apps running in the background. rooting your phone is just flicking a switch, its not some crazy fight with flashing stuff.

bad stuff:

Apps can be sparse, normally there is an android compatibility layer but in a port there isn't. but there is work being done at getting https://anbox.io/ to work on it and this particular device ive managed to run anbox on, just not ready for prime time yet.

this can probably tell you more https://sailfishos.org/
[Nexus 5X General] manpildo:
Great stuff, thanks. :good: However just wondering, wouldn't a clean AOSP build without gapps also achieve complete disconnection from G's ecosystem?
[Nexus 5X General] m4r0v3r:
yes that very well could :) but aosp is android, while sailfishos is just plain linux. it uses components like pulseaudio that you would find in a standard gnu which is why something like anbox can work on a ubuntu desktop and sailfishos
[Nexus 5X General] giantflash:
Is it hard to get anbox working on sailfish? If I'd be able to use Whatsapp (sadly still to many people using it) I could make the switch, I just love the sailfish ui that much more.

Oh and thanks again for the work you're doing :)

Btw, the new build for lineage os isn't booting for me, not with flashing latest 6 factory image, nor with flashing latest 7 factory image before flashing lineage 14.1. It always gets stuck at the google logo without any activity (well except that it get's hot :D )
[Nexus 5X General] m4r0v3r:
hmm does telnet work?
[Nexus 5X General] giantflash:
To be absolutely honest, I'm trying to figure out what/how to do that since I posted, but I can't... I mean my device isn't connected to any network as I can't even start the device, so as far as I understand telnet that won't help. I'm trying to figure out how to use PuTTY, but even that seems to be above my head unfortunately.

I will keep on trying (and googling), if I get to something I will reply, otherwise I will just wait for the next build and try again :D
[Nexus 5X General] m4r0v3r:
putty should sort you out, the ip is 192.168.2.15 and the port is 2323
[Nexus 5X General] giantflash:
No, putty in telnet mode just tells me "connection refused"
[Nexus 5X General] m4r0v3r:
ah, thats a bit odd, are you using the ip i provided? or still no dice?
[Nexus 5X General] giantflash:
Yes I did. I'm gonna reflash everything again once more and try to use telnet again.

So just for clarification:

1. use the flash-all script from bullhead-n2g48c

2. flash twrp

3. boot to twrp

4. use the factory reset option in twrp

5. reboot to twrp

6. flash lin 14.1 zip

7. flash linos zip

8. reboot, try telnet with your ip

If I can try anything else (assuming it won't make a change this time) just tell me please :)
[Nexus 5X General] m4r0v3r:
not factory reset, but format data since the partition is encrypted
[Nexus 5X General] Banan PL:
Definitely will check out new update. Do I have to install correct vendor too or SFOS don't really care about things like that?

Oh and is video playback working fine? It's not listed in working/not working stuff list.
[Nexus 5X General] m4r0v3r:
video playback is working fine :D and youll need to install the correct vendor yes
[Nexus 5X General] giantflash:
F**** me. That actually did the trick. Probably figured it out myself last time. Booting right now.

Sorry for taking up your time on this and thank you so much for your help and your rom :)
[Nexus 5X General] m4r0v3r:
its no problem man :)
[Nexus 5X General] Josh:
Hey guys I like Sailfish UI and I'm interesting does WhatsApp, FBMessenger, Telegram and Email work on it!? Thanks and sorry for a noob question
[Nexus 5X General] m4r0v3r:
Email and Telegram does. FB can be done via web browser. but not WhatsApp am afraid
[Nexus 5X General] Josh:
Ouch,thanks for your quick answer. I'm getting bored using Android custom ROMs so trying to find something different but without WhatsApp is hard :(
[Nexus 5X General] m4r0v3r:
maybe one day in the future if we can get anbox working. but till then no dice :(
[Nexus 5X General] giantflash:
Alright so I got one more (maybe stupid) question: I can't find anything on snaps on sailfish os. Can you give me a hint/link where I can read into it so I could try anbox/whatsapp?
[Nexus 5X General] m4r0v3r:
I guess

you install stuff by doing zypper in

add this repo http://repo.merproject.org/obs/home:/mal:/anbox/sailfish_latest_armv7hl/

install binutils

install anbox-sailfishos and anbox-sailfishos-image-mixed-32-64-bit

remove any files that have GLES in the file name under /var/lib/overlay/system/lib64/

reboot

run systemctl restart anbox-container-manager in terminal

then start anbox from the icon in the menu and wait, it might come with up anr but hit keep waiting and wait till ti closes itself and opens up again and viola your on the menu. not everything works but hey ho. all thanks to mal :)
[Nexus 5X General] giantflash:
I did all that except that /var/lib/overlay/system/lib64/ doesn't exist on my phone. The only thing slightly related is /var/lib/anbox/overlay/system/lib/, but there's nothing of interest in there. Sure your path is correct?

Edit:// in /var/lib/anbox/overlay/system/lib/egl I got two files with GLES in it's name, should I delete them?

Anbox isn't starting though, I was hitting "please wait" for a while, then it just went away, and now I can't start it anymore.
[Nexus 5X General] m4r0v3r:
thats odd because I just did a fresh install and have it here

/var/lib/anbox/overlay/system/lib64

hmm mines causing a reboot now so itll need more investigation
[Nexus 5X General] giantflash:
for me, the lib64 folder doesn't exist, only lib. I just checked, zypper tells me it already installed both anbox programs you mentioned as well as binutils for that matter.
[Nexus 5X General] m4r0v3r:
it clearly needs more work so we'll see
[Nexus 5X General] giantflash:
Alright, thanks a lot again and good luck further
[Nexus 5X General] Banan PL:
I got some minor issues when installing SFOS with 14.1 base. It reboots recovery around end of bar.

Device's stuck in recovery loop after it and won't flash any zips or restore backups (it will reboot in middle of the process).

Only fastboot can help here. Any ideas?
[Nexus 5X General] m4r0v3r:
seems to think your device isn't a bullhead? can you flash pure stock and boot into that?
[Nexus 5X General] Banan PL:
Yeah, stock, customs and previous build are booting fine.
[Nexus 5X General] m4r0v3r:
id try redownload of the zip. ive never seen that error before
[Nexus 5X General] Banan PL:
OK it was TWRP issue now device is stuck at splash screen BUT it gives vibration feedback/led blinks at startup like in 2.0/shutdown when I unplug it from power source. I flashed february vendor.
[Nexus 5X General] windknecht:
Hello,

which firmware do I have to flash before installing 14.1? Latest Android 6.0.1? Thanks
[Nexus 5X General] m4r0v3r:
You need
[Nexus 5X General] Banan PL:
Im such an idiot. I looked at build date and then for corresponding vendor for that date. I forgot that LOS 14.1 used last 7.1 vendor. My bad. Thanks!
[Nexus 5X General] m4r0v3r:
As long as its works :D
[Nexus 5X General] jcrutchvt10:
Thanks for this loving it! I am on Verizon and can't seem to get cell service working. I did try messing with the Data APN and mms APN but with no luck. This is on the 7.1.2 base. Anything I might be missing? I did a complete wipe and reflash with the same problem. Thanks again!
[Nexus 5X General] m4r0v3r:
did you flash stock which would flash the 7.1.2 radio? am guessing you did. does cell not work at all?
[Nexus 5X General] jcrutchvt10:
I did do a complete wipe and flash of 7.1.2. Cell worked for data for a bit but then stopped. Never worked for texts or calls. Thanks!
[Nexus 5X General] m4r0v3r:
ah fair enough, lemme dig in and see whats what
[Nexus 5X General] jcrutchvt10:
Thanks! Looks like it may be an APN issue. Not sure what to enter for data vs. MMS. On my other devices there is one APN with connection name "Verizon Internet" with APN name VZWINTERNET. The mms details are in there as well.
[Nexus 5X General] m4r0v3r:
So do calls and texts not work at all? if so can you try and make a call or text and get me the logcat by running /system/bin/logcat please :)
[Nexus 5X General] jcrutchvt10:
That's correct no calls/texts. No worries i'll post the logcat when I have a minute free. Thanks again!
[Nexus 5X General] jcrutchvt10:
I attached a screenshot after trying to make a call. Let me know if you can make anything of it.

Thanks!
[Nexus 5X General] m4r0v3r:
looks sane to me, you can telnet into the device at 192.168.2.15 port 2323 to run the logcat normally also journalctl -f
[Nexus 5X General] windknecht:
Hi, new 14.1 base works fine, it's just on proximity sensor events I experience problems with the display wakeup, it very often stays black, not easy when doing phone calls. I flashed august vendor, bootloader and radio, should I have flashed boot.img or others of the Android 7.1.2 package too? Thank you for your help!

---------- Post added at 02:38 AM ---------- Previous post was at 02:34 AM ----------

Hi, 14.1 base works fine for me, I just experience problems with display wakeup on proximity sensor events. I flashed august vendor, bootloader and radio image, should I have flashed others like boot.img too? Thank you and sorry for bothering...
[Nexus 5X General] m4r0v3r:
hmm that seems to be a known bug and am not too sure why atm. sometimes it works perfectly but other times it decides to freak out
[Nexus 5X General] windknecht:
Just one final question: The audio out does not seem to work, no sound in my headphones... Can this manually be fixed in pulseaudio, and if,how? I'm not familiar with pulseaudio command line tools... Thanks
[Nexus 5X General] m4r0v3r:
it can be fixed manually. go to file /etc/ohm/plugins.d/accessories.ini

and there should be an event6 listed, change it to event7
[Nexus 5X General] windknecht:
Thanks, works fine now. I need that audiojack 'cause I mainly use this phone for watching music videos... You're doing a great job!
[Nexus 5X General] tux_on_road:
Very good port thanks for that. It would be nice if AlienDalvik would work so that I could use Android apps. I still have a problem when I make a phone call and then hang up the screen flickers when I press the power button. This happens after about 2 minutes of calling.

EDIT: I have another question. Does the autofocus of the camera work for you? He does not do that to me.

EDIT 2 - Answer for camera: Sorry my mistake, you just have to stay longer on the trigger then it works.
[Nexus 5X General] ahmedjan87:
I just installed and everything so far is working very well but I have a weird issue with calls

I cannot make calls at all and when I receive a call the phone rings but the answer/decline UI does not appear at all

I used the 7.1.2 base that you mentioned in first post and Lineage 14.1
[Nexus 5X General] m4r0v3r:
if you can grab a logcat/journalctl and i can take a look :)
[Nexus 5X General] ahmedjan87:
so something weird just happened

after posting about the issue yesterday i immediately flashed stock oreo back since i needed the phone working but now after finishing up with everything i reflashed sailfish the exact same way as yesterday except this time when going through the initial setup i did not skip the tutorial and now the phone is working perfectly

sorry i couldn't provide a logcat from the previous flash
[Nexus 5X General] m4r0v3r:
that is weird, seems intermittent. i wonder what the issue was.
[Nexus 5X General] ahmedjan87:
update : the issue resurfaced and this time i managed to extract a logcat directly after reproducing it

i attached it here

oh and how do i grab a journalctl ?
[Nexus 5X General] m4r0v3r:
devel-su journalctl -f

you set the root password in the developer settings
[Nexus 5X General] _giwrgos_:
Thank you for the amazing work! I really wanted to try Sailfish! It took me some time and I kept some notes of the procedure but I cannot send them now because I don't have enough posts (and they contain the links ).

Does anyone else have the problem of the screen not turning off automatically?
[Nexus 5X General] m4r0v3r:
maybe proximity sensor issue? can try installing messwerk from openrepos.net and see if all is working as it should
[Nexus 5X General] _giwrgos_:
Ok, I did that. I started logging both proximity and light and the accuracy seems very bad. Actually especially the proximity sensor seems to not work well at all. I covered the sensor with my finger and it took me a lot of tries until it was recognised. Can I disable the sensor at all and just use the timer? Is that possible?
[Nexus 5X General] Mitachben:
Umm.. guys? can somebody tell me where can I download the zip file?

Can't find it in the first post/by searching google..
[Nexus 5X General] m4r0v3r:
http://images.devaamo.fi/sfe/bullhead/
[Nexus 5X General] _giwrgos_:
Thank you for the amazing work! I really wanted to try Sailfish!

Let me put some installation instructions (now that I have enough posts :D ) here for the latest version so that we have these together in one place. It took me some time to install it, to be honest, I got the google logo boot stuck a lot of times. I did telnet to the device though and saw that the problem was that it could not mount the /data partition with a strange error invalid parameters. It seems that it was a partition error, maybe encryption. Anyway, the instructions are a little bit too detailed but I prefer that than having to go to google ten times just to write "android platform tools", "twrp nexus 5x" and so on :D

Installation guide for sailfish 2.1.3.7

1) Download the platform tools from here: https://developer.android.com/studio/releases/platform-tools

2)Enable the USB debugging option from developer options of the device settings

3) Run "adb reboot bootloader" to boot to fastboot ( or use the hardware buttons, whatever you prefer)

4)Run "fastboot oem unlock" to unlcok the bootloader

5)Go to the official google page and download the version 7.1.2 image (N2G48C, Aug 2017) https://developers.google.com/android/images

6) Without leaving fast boot, unzip the file in your computer and run the flash-all script

7)Download the twrp for nexus 5x from the official website https://twrp.me/lg/lgnexus5x.html

8) Boot into fastboot again using either the command "adb reboot bootloader" or by using the hardware buttons

9)Run "fastboot flash recovery path_of_the_twrp.img"

10)Now from fastboot select recovery and boot in it

11)Go to the website of the porter and download both the lineage and the sailfish os http://images.devaamo.fi/sfa/bullhead/hybris-14.1/

12)Using TWRP flash the lineage 14.1 zip first.

13)Wipe the data partition and also press the option of change filesystem and select ext4

14)Do a reboot into recovery again ( just run "adb reboot recovery" )

15)Using TWRP flash the sailfish os zip

If you are facing the problem of being stuck at the google logo you can telnet to the device.

The ip of the device is :192.168.2.15 and the port is either 23 or 2323 ( in my case it was 23 )

Hope that helps!
[Nexus 5X General] m4r0v3r:
also added instructions for OTA to 2.2.0.29
[Nexus 5X General] Banan PL:
How offline charging works on this thing? I powered it off it said "Goodbye" then phone displayed its default offline charging screen (that battery with lighting) but with white led and then boom new SFOS' interactive charging screen. I thought that OS is partially booted up or something as it takes similar time to show up this screen. If I hold power it says "Just a moment" (it shows up as an animation) and it is a moment it shows bootloader warning then google screen, it takes like up to 7 seconds. I've never seen something like that before and it's just offline charging screen, how did they made that thing? I like this type attention to details. Maybe I should start hunting for some old Sailfish compatible phones.
[Nexus 5X General] m4r0v3r:
yeah its the act-dead-charger
[Nexus 5X General] m4r0v3r:
shameless bump but added 2.2.0.29 zip which now hooks up directly to OBS so can release OTA updates easily from now on. no need to mess around with changing repos.
[Nexus 5X General] somoant:
I am giving up. I am not sure what is wrong, but i am not able to do it work.

When I try flash sailfish zip, getting some error related to unable mount data, cause ext4 is expected (dev/block/platform/soc.0/f9824900.sdci/byname/userdata)... although i format data ext4 before. After script ends it, boot stuck on google logo. i am able connect with telnet, but i am not familiar with it, i don't know what i should do to find out solution.
[Nexus 5X General] m4r0v3r:
when in telnet. call dmesg. and put it in pastebin.
[Nexus 5X General] somoant:
I am not sure how, but after a attempts i finally boot, thx

---------- Post added at 04:16 PM ---------- Previous post was at 04:06 PM ----------

thx, i finally boot sailfish. I am not sure how :), after xxx attempts, i think i must format data partition after cm flash and reboot recovery and then flash sailfish.

also i flash stock android without -w (because mke2fs error on my pc) so i must clean data and cache before from twrp and do it again, but it's work, so i am curious about sailfish os
[Nexus 5X General] m4r0v3r:
yeah thats a good way to do it. because if you boot into cm then it will encrypt the partition
[Nexus 5X General] _giwrgos_:
Glad that you made it work, It took me sometimes too the first time!

I think that you are correct, you should format the partition after you flash the Lineage OS and use the EXT4 option. Happy testing!
[Nexus 5X General] Josh:
No-one gets WhatsApp to work?! Cheers
[Nexus 5X General] Banan PL:
WhatsApp is Android app and SFOS' community ports don't have Android support. 5 and OPO if I'm correct have patched aliendalvik's builds that are able run Android apps. There's also opensource SFdroid, but I didn't even bothered to even attempt to run it.
[Nexus 5X General] BearOfXDA:
So, you flash LOS and then the SFOS release?
[Nexus 5X General] m4r0v3r:
instructions are on first page. its a bit more than that
[Nexus 5X General] tux_on_road:
but with version 2.2.0.29 I can not call anyone anymore. There is only one beep and then there is "network error".
[Nexus 5X General] m4r0v3r:
hmm ill give it a look
[Nexus 5X General] tux_on_road:
Thanks a lot.

Under dmesg I get the following error displayed several times: [AFE_TOPOLOGY_CAL] not initialized for this port 16384 <-- The port is always different.

The cell phone tries to dial, then comes the beep and the screen goes out. If I then press the power button I have to press several times so that the screen again. I've flashed many times but the bug keeps coming up, even with a fresh install of Sailfish OS. Please excuse my bad English.

EDIT: There is also no incoming calls.
[Nexus 5X General] m4r0v3r:
am taking a look now :)
[Nexus 5X General] m4r0v3r:
so i think ive fixed it. if you can help me test out the OTA process by following it on the first page but using sailfish version

please. or can wait till i cook a new image which shouldnt be too long either
[Nexus 5X General] tux_on_road:
yes I would wait for the new image then I flash the Nexus again. Thank you so much!
[Nexus 5X General] m4r0v3r:
new rom is up :)
[Nexus 5X General] tux_on_road:
Thank you very much. I'll try it tomorrow.

EDIT: Works perfectly, Too bad that AlienDalvik does not work on the ports.
[Nexus 5X General] BearOfXDA:
Is there a reason I'm unable to install APKs? I can't even find F-droid on the provided store, the store is very empty and only has 20 apps listen
[Nexus 5X General] Banan PL:
Well, on Windows you won't to install put here Linux distro apps too, I wonder why?

Jokes aside, Sailfish won't run android apps until someone crac... uhhhhhh port... yeah... I meant port Alien Dalvik... to work on bullhead. As Alien Dalvik is proprietary software of some 3rd party company it's not included in community ports unless someone port it.

Or we get SFdroid/androbox to run on 5X.
[Nexus 5X General] BearOfXDA:
Ah, I was wondering as according to this

https://jolla.zendesk.com/hc/en-us/...es-Sailfish-OS-support-and-how-do-I-get-them-

Android app support does exist. Didn't realize it was because there needs to be support added by the dev
[Nexus 5X General] tux_on_road:
I still have a little problem with Sailfish OS and the Nexus 5x. Does the autofocus of the camera work for you? When I want to take a picture, he does not focus on near objects. It is not so bad for distant objects. With the old Sailfish OS version I had to press the trigger permanently for the autofocus, but now nothing happens anymore.
[Nexus 5X General] m4r0v3r:
the autofocus is broken atm
[Nexus 5X General] tux_on_road:
Ok then I wait until it works again. I like Sailfish OS so much that I use it every day.
[Nexus 5X General] m4r0v3r:
got a fix for the auto focus will be coming soon

in terminal do:

devel-su

zypper ref

zypper dup

Your root password can be set in developer settings.
[Nexus 5X General] tux_on_road:
Thanks for the update, I have it running.
[Nexus 5X General] m4r0v3r:
another update is there and should fix the video recording as well. but you need to delete /home/nemo/.cache/gstreamer* to fix playback issues after the update. i will be upload a new zip soon that has all the fixes before I rebase onto of lineage 15.1
[Nexus 5X General] tux_on_road:
Thank you for your great work. Will there be changes in Lineage OS 15.1? Then I would have to flash everything again. That's not a problem, I've reset Sailfish OS many times. :)

I like to use it now and do not want to go back to Android. I also do not really miss Whatsapp, but other Android apps like the Vorwerk vacuum robot VR200 or a well-functioning telegram. Currently I use Depecher, unfortunately, it can not send pictures, only received. And Sailorgram does not work anymore.
[Nexus 5X General] m4r0v3r:
you can try this

https://public.etherpad-mozilla.org/p/anbox-sailfishos

Yes there will be changes, hopefully fixing the bluetooth :)
[Nexus 5X General] tux_on_road:
Thanks for the tip, I have the Anbox RPM installed, but I do not know how to start it. I do not see an icon that I can use.

Bluetooth would be great for Sailfish.

EDIT:

Ok, I have it installed. It opens a window and this closes immediately. Is not bad I get off first without android apps.
[Nexus 5X General] jerbear294:
Fantastic, I'm getting further annoyed with the state of Android, and Bluetooth is really the one thing I need before I try this out.
[Nexus 5X General] Galaxyninja66:
can this be used on bootlooped 5X's along with the patch?

I assume no since this would overwrite the patched boot image : (
[Nexus 5X General] m4r0v3r:
hmm whats the patch? the init.rc files? since i use custom ones and could apply it myself
[Nexus 5X General] jtumano:
Thank you a lot for port. Seems Sailfish community has a new member because I liked it a lot :)

I’ve spent a whole day trying to flash it on my 5x. Finally understood that I should use not latest android for this device but latest 7.1 android :)

Now it seems to working but Jolla store has only about 20 apps available. Is it the real situation or I have to enable some settings? Also Installed storeman which enabled openrepos with a lot of apps but it seems to be unofficial.

And didn’t find android support app. I understand that it is available only for those who have Sailfish x license. If I will buy it - will it be available on nexus x port or there is any another solution?
[Nexus 5X General] m4r0v3r:
no android apps :(
[Nexus 5X General] Galaxyninja66:
I actually do't recall. I was just peaking some really cheap Bootlooped Nexus 5X's online and figured a cheap Sailfish OS phone would be neat to have.
[Nexus 5X General] jtumano:
That’s sad. Fortunately there is a lot of native apps which can satisfy most of the needs. Worst thing that I couldn’t yet solve is stock browser. It’s laggy, slow and doesn’t work on some urgent for me sites. Even I couldn’t login via google to this forum.

Is there any alternative? Webcat seems the same thing