yashsingh1/xdaforums huggingface dataset:
[OnePlus X Android Development] rinigus:
I get the same repositories as [MENTION=1082346]kimmoli[/MENTION] (5 repos in global). Under user section there are only openrepos and store.
[OnePlus X Android Development] lewadedun:
I had:

- mw ...
- dhd ...

Turned them off, did everything again and now everything is OK. :)
[OnePlus X Android Development] kimmoli:
there might be some race condition during update.

if someone sees them missing, can you try following,

check that these files exists, if yes then:

devel-su touch /usr/share/ssu/features.d/adaptation-community.ini
devel-su touch /usr/share/ssu/features.d/adaptation-community-common.ini
[OnePlus X Android Development] elvarr:
kimmoli, appeared file /1 with contents:

ro.qualcomm.bt.hci_transport: smd
Failed to open the /sys/devices/platform/wcnss_wlan.0/smd_channel_ready
init_transport: Cannot open /dev/smd3: No such device
. Retry after 2 secondsBinary file: 5.01.0_2003
[OnePlus X Android Development] kimmoli:
Please, elaborate. This seems some bluetooth thing, but when, where?
[OnePlus X Android Development] elvarr:
After I updated to beta-4. In the / appeared file 1.
[OnePlus X Android Development] kimmoli:
Thanks.

Seem there is a missing "&" here https://github.com/mer-hybris/droid...er/sparse/usr/bin/droid/droid-hcismd-up.sh#L9
[OnePlus X Android Development] elvarr:
Thanks, helped.
[OnePlus X Android Development] taaeem:
Updated Changelog and thread title. It's update time!
[OnePlus X Android Development] karan5chaos:
Jolla store now available !!

That last line in changelog made by day :D :p

Thanks [MENTION=5738857]taaeem[/MENTION]
[OnePlus X Android Development] robbie_67:
Putting SFOS on OnePlus X for the first time in December 2016

I'm trying to install SFOS for the first time on a new (to me) OnePlus X, but I'm having problems.

Last month, I got a OnePlus One, and put multirom on it and loaded a couple releases of SFOS (now with Jolla Store!) plus a build of Ubuntu Touch, and it's a blast, but it's also turned out to be way too big for me to carry around.

So I now have a (beautiful) second-hand OnePlus X. All the guides to install SFOS point to this page at Mer Project which then refers back to the CyanogenMod 12.1 for OnePlus X by MasterAwesome page to first install CM 12.1 before installing Sailfish.

I can get the OnePlux X into developer mode and enable USB debugging. Fastboot on Ubuntu finds the device, and I can flash the recovery-twrp.img file from the MasterAwesome first post, but it won't boot into recovery. (I also notice that the MD5sum of the image doesn't match the one on the download page.) Some other TWRP recovery images for Onyx will boot, e.g. several on this page at twrp.me boot into recovery, however when I try to install CM 12.1 like this one from the MasterAwsome post, I get "Updater process ended with ERROR: 7 Error installing zip file "/external_sd/MA-12.1-20160201-onyx.zip". I've tried several CM 12.1 builds with several TWRP recovery images, but in all cases so far, either the recovery won't boot, or it does and I get "ERROR 7" install the CM 12.1.

Is there something that's been updated since MasterAwesome made that post, or have I missed something in the hundreds of pages of discussion? I've tried searching for anything I can think of in the threads, but haven't found a solution yet. Any suggestions?

Thanks
[OnePlus X Android Development] adhit_barker:
Instal Android app support sir?
[OnePlus X Android Development] taaeem:
On which Oxygen OS Version are you? If it's 3.x.x then you first have to downgrade because we don't support the new bootloader. There are instructions here on XDA how to do that.

Still no support.
[OnePlus X Android Development] robbie_67:
Thanks!

It's OOS 3.1.4 (reminds me of Pi).

Okay, so I used fastboot to flash TWRP 3.0.2-1.

Then booted into recovery, wiped everything.

Used TWRP to downgrade to OOS 2.2.3 from oneplus.net.

Booted into OOS 2.2.3, unlocked dev mode, advanced reboot.

Rebooted to fastboot.

Installed the recovery-twrp.img from the [ROM][5.1.1][STABLE] CyanogenMod 12.1 for OnePlus X by MasterAwesome thread.

Then booted into recovery and flashed CM 12.1. First try, I used Build 13.0s - STABLE, then the Sailfish image for 2.0.5.6 beta. No luck, just keep looping back to recovery. So for fun I tried again, this time rebooting into CM 12.1 before flashing SFOS. Still no joy.

So, I downloaded Build 12.0s - STABLE and flashed that from recovery. Without rebooting, I then flashed SFOS 2.0.5.6 again and rebooted. BAM! Sailfish boots.

Success! Thanks very much for this.
[OnePlus X Android Development] BrokenBee:
Hows the battery life on this thing? Whats not working?
[OnePlus X Android Development] Kermit13:
for me the battery is good for up to 3 days.... everything I need is working, can 't complain about anything.

merry xmas.. :)
[OnePlus X Android Development] kimmoli:
Things that doesn't work (listed everything i know to get a longer list)

Reboot after clean install (twrp flashing) is needed. Do not enable wifi, mac address is wrong.

Voicecall volume on speakerphone mode does not work.

Compass. Just don't go orienteering with it.

FM Radio can't be listened over bluetooh, claims headphones are not plugged in when paired with audio device.

Time left till the battery is full is reported as a negative value.

systemd spams "Time has been changed" on every resume. Merged upstream

Double-tap to wake screen when in actdead mode (charging when turned off) doesn't work. To be fixed in Beta-5

File named 1 is created in / during boot. To be fixed in Beta-5

Nice. The 12.0s is the required image, it is in the instructions as a link.
[OnePlus X Android Development] ferlanero:
Just a question: I updated my OPX to Sailfish 2.0.5.6 via OTA when it was released weeks ago. So, if I do now a "ssu release" and a "version --dup", could I get the benefits of the last beta? or do I have to reinstall it?

Thanks in advance! :)
[OnePlus X Android Development] kimmoli:
you can re-update, you should then get device specific fixies. just follow instructions in the beta-4/README.html
[OnePlus X Android Development] BrokenBee:
Thanks! I meant whats not working in terms of hardware features such as GPS, Bluetooth etc.
[OnePlus X Android Development] kimmoli:
If it is not listed, and is supported by SailfishOS (or by our addons), it works.
[OnePlus X Android Development] ferlanero:
Thanks! Doing these steps:

http://images.devaamo.fi/sfe/onyx/beta-4/README.html

everything updated and working fine on my OnePlus X. Great work on the beta 4!! :laugh:
[OnePlus X Android Development] Sakkara:
Thank you everybody who is involved in this port, it works like a charm!

One question I have: How do you use self made ambiences with the Tristate Ambience Changer? I can see my ambiences in the "normal" ambience settings page, but not in the TAC :(

And I thought there would be tons of great apps now that Harbour is working, but I could not find a single one, that I did not have from Openrepos already. Seems like it's really calm in the Harbour... I really miss a decent email client, the one from Jolla misses a lot of features that are quite standard nowadays...

But anyway, feels so much better on Sailfish than on Android!
[OnePlus X Android Development] kimmoli:
thank you for trying it out!

Unfortunately i haven't managed to make DIY ambiences show up there yet. Need to take another look. (that is now a quick hack to fetch even built-in ambiences)
[OnePlus X Android Development] latgarf1:
Thank you very much for these instructions! - They were a life saver! :)

A couple of notes that cost me some time and nerves:

1. The MD5 hash of the recovery-twrp.img file listed at

http://xdaforums.com/devdb/project/dl/?id=15644

seems incorrect. Mine was 65a1421cc645fd403840508706c58026.

2. Before flashing CM12.1 build 12.0 I had to wipe

Dalvik Cache, Data, cache

or otherwise an error while flashing CM.

Many thanks again! :)
[OnePlus X Android Development] ferlanero:
It's just me or after beta 4, the OPX battery on SailfishOS, now lasts much more than in previous releases?
[OnePlus X Android Development] oenone.:
New install of Beta 4 compared to Alpha 3 updated to 2.0.5.6, yes, very much so.
[OnePlus X Android Development] KAREEM SOBER:
if you add android it will be my primary os on my phone:D
[OnePlus X Android Development] Sakkara:
Would be very nice if you manage to make it work :)

I found an article explaining how to install SFdroid on the OPX, unfortunatly it is in german, but it seems pretty obvious what to do: sailfishmods.de/2016/12/oneplus-x-sailfish-os-inkl-sfdroid-installieren/

Note that the first part is about installing SFOS, I think from "SFdroid Dateien" it goes on to installing SFdroid.

Haven't tried it out yet, but maybe someone is interested :)
[OnePlus X Android Development] mrcaaattt:
Wow someone already ported sfdroid.

I checked out the instructions, seems straighforward. Might just try flashing it.
[OnePlus X Android Development] Danvik87:
Where did you find the instructions?
[OnePlus X Android Development] mrcaaattt:
From the post before mine ? but anyway it's here: http://sailfishmods.de/2016/12/oneplus-x-sailfish-os-inkl-sfdroid-installieren/

Seems like you need clean install though
[OnePlus X Android Development] Danvik87:
Lol. I didnt notice the link. I will havet a look.
[OnePlus X Android Development] Danvik87:
It seems legit. I will try to flash it , but i havet to downgrade my bootloader first. I'm currently running cm14.1
[OnePlus X Android Development] kimmoli:
Just be aware that sfdroid is still heavily WIP
[OnePlus X Android Development] robbie_67:
I had the exact same issue (with the same "wrong" MD5) which led me to initially (and incorrectly) think this was my problem. I for one would be super-super-grateful if the OP would note this discrepancy in the first post or -- even better -- the owner of the download would correct the MD5 on the download page.
[OnePlus X Android Development] cvp:
http://www.sailfishmods.de/dl-files/ports/opx/twrp-3.0.2-0-onyx.img

is that okay for you?
[OnePlus X Android Development] elvarr:
kimmoli, cvp, after the sfdroid installation, the microphone doesn't work on Sailfish OS. I think the problem is in onyx_sfdroid.tgz.
[OnePlus X Android Development] cvp:
Ok, this is strange. I have checked my instructions again. After I flasht everything again I had the same problem with the microphone as with you.

then i did the following:

1) i mount again /system, this time with this command: mount -o remount,rw /system

2) unpacked again: tar -xzvf onyx_sfdroid.tgz

3) cp -R /linkt/to/unpacked/onyx_sfdroid/usr/* /usr/

4) overwrite everything with "y" . This is not possible with two files. But that's okay

5) reboot

After the start I test the microphone with a call. That worked. Then "killall lipstick". Started sfdroid and closed it again. And again called. And again, it worked.
[OnePlus X Android Development] elvarr:
cvp, after 2 resets the microphone works. But then, again...
[OnePlus X Android Development] cvp:
Ok, i can confirm this problem. I will ask dr_gogeta86 if he has a solution for it.
[OnePlus X Android Development] shikhar1234:
[MENTION=5738857]taaeem[/MENTION] [MENTION=348460]cvp[/MENTION]. Sir there was no way of contacting you. So have to write in this thread. Sir i have gakaxy A7 2015 on android 6.0 it would be great help if you can guide me to install Xposed framework on my device...i have tried almost all the ways given on different sites but faiiled. Please I seek help from a senior member like you. My email is sshikharshah@gmail.com
[OnePlus X Android Development] adhit_barker:
Hope will work on New BL
[OnePlus X Android Development] karan5chaos:
Everything works great except battery life.

It sucks big time. it drains like crazy even on standby.

It would be great if it would be fixed.
[OnePlus X Android Development] ferlanero:
I don't have that problem on my opx with Sailfish
[OnePlus X Android Development] elvarr:
kimmoli, I found how to fix the "Voice Call volume on speakerphone mode does not work". The problem was in CM12.1 .

devel-su
mount -n -o remount,rw /system
\cp /home/nemo/Downloads/etc/* /system/etc
\cp /home/nemo/Downloads/lib/hw/* /system/lib/hw
reboot

03.06.2018

It is necessary still:

devel-su
ln -s /system/etc/mixer_paths_auxpcm.xml /etc/mixer_paths_auxpcm.xml
reboot

speaker-fix.zip
[OnePlus X Android Development] karan5chaos:
try using it for 1 week and u will see what i mean. it's highly inconsistent. Even when no apps are running the battery would drain really quickly.
[OnePlus X Android Development] rinigus:
I would say that battery life on onyx sfos is quite good. Over few month of use, it got stuck at 100% only once or twice. Opposite to your experience, mine is quite consistent with the battery drain correlating with the use. Have to charge it usually once in 1 or 2 days with my use. CPU sleep is high when not using device, as expected. Maybe some of the apps that you use register wakelocks and don't release them (usually via keepalive in SFOS apps)?
[OnePlus X Android Development] Akhilsuperuser:
Updater Process Ended with Error: 7

anybody help me plz !!!

While flashing through MultiRom twrp when i flash the android base it shows as "This Package is for device: ONE; this device is onyx"

im sure i downloaded the onyx base zip itself, any help plz!!
[OnePlus X Android Development] Akhilsuperuser:
figured it out

Ive figured it out i was on new BL but now im not able to install warehouse after doing the following steps:

1. Download latest .rpm file

2. Open Terminal application and execute the following lines:

ssu dr store && ssu dr adaptation0

devel-su pkcon refresh

3. To install the RPM use command:

devel-su pkcon install-local Downloads/harbour-warehouse-0.3-30.armv7hl.rpm

doing this i get a error as

Fatal error: could not resolve: Downloads/harbour-warehouse-0.3-30.armv7hl.rpm

thanks
[OnePlus X Android Development] mgfm99:
What directory are you in when you issue that command? Presumably you have downloaded warehouse to /home/nemo/Downloads so you should check you are in /home/nemo when you issue the pkcon command - or just give the full location to pkcon.
[OnePlus X Android Development] lfc222222:
I can confirm this works.

Kimmoli, can you please roll this into the next release?
[OnePlus X Android Development] Akhilsuperuser:
Which ROM can be used as secondary ROM on multi ROM because all the ROMs fail to boot up due to kexec hardboot kernel.

Anyone with suggestion
[OnePlus X Android Development] cvp:
cool, works well. Thank you!
[OnePlus X Android Development] ferlanero:
Same here. I have been using SFOS for months and for me battery life is awesome on OPX
[OnePlus X Android Development] elvarr:
You use camera? I think that camera is eating battery.
[OnePlus X Android Development] karan5chaos:
Do u think apps like patchmanager and warehouse are causing battery drain ?

Coz patchmanger is sort of a requirement for vanilla SFOS.
[OnePlus X Android Development] rinigus:
I don't think that patchmanager and warehouse would cause any significant battery drain. But you could always hit some bugs of either system or additional software (also from Jolla Store). How fast is your battery depleted? Have you monitored the phone and checked whether its entering sleep?
[OnePlus X Android Development] karan5chaos:
I actually haven't . But given battery drain makes it pretty obvious it isn't going to sleep.

I monitored the background processes and there are none which would significanly affecting battery life.

Also i don't use mobile data only wifi.

I read somewhere that SFOS has background sync bug. I used to sign into my XMPP account . but i deleted it after reading that and it still drained battery.

Also i found that this might be bacuase of the governer being on on demand (which should work as expected) but somehow same issue.

i dont use any messenger apps like telegram or wishperfish etc. so no daemons should be running in background which keep such apps alive.

Furthermore i read that a process named "toh" also results in battery drain. so disabled it aswell.

I have done my fair share of research regarding battery drain (I really love SFOS that much !) :) . But given battery life is unusable for me :(

Hence i have been forced to move back to stupid android. :silly:

---------- Post added at 10:51 AM ---------- Previous post was at 10:46 AM ----------

nope i don't use camera. just a test shot at beginning.
[OnePlus X Android Development] rinigus:
I wrote SystemDataScope (SDS), ported and wrote extra modules to collectd for studying these cases. Its distributed via warehouse since collectd is a daemon. I'd suggest to install them (if you install SystemDataScope all other dependencies should be pulled automatically) and let them monitor your OPX for a day. Its quite easy to setup, just follow the help screen displayed on SDS. Already in an hour or so it would be clear whether CPU is sleeping or not.

You haven't replied regarding battery life that you get (or I missed that). How long does it last on one charge?
[OnePlus X Android Development] karan5chaos:
My bad! i didn't commented on battry life yet. i get around 5 to 6 hours on full charge. that's just medium to low usage with no apps running or minimized.

my medium usage includes little bit of surfing. occational phone calls and checking messages.

WIFI connected all the time.

---------- Post added at 01:30 PM ---------- Previous post was at 01:27 PM ----------

@taaeem i know it's stupid and i don't know about it but do u think this will work :-

https://together.jolla.com/question...ilfish-os-version/?answer=51003#post-id-51003
[OnePlus X Android Development] rinigus:
5-6 is way too low. See attached the stats for a week. As you could see, battery is discharged significantly slower than yours and CPU sleep is rather high. So, would be good to see what's it is in your case (also CPU scheduling can be analyzed by checking distribution of CPU frequencies, but usually its OK). I use my phone on mixed WiFi and cellular data, haven't seen any significant difference.

Probably not the case, but let me ask: you don't have GPS and map application running, right? :)

To help you further:

* check what's the status of CPU sleep on your device.

* see if the battery life is better if you switch off all data connections (no WiFi, no cellular data). I'd expect you hitting 95%+ CPU sleep in these conditions. This test is important to ensure that all is working in as simple/controllable environment as possible.

* if possible, put your phone offline for 1-2 hours and check CPU sleep if all other fails.

good luck!
[OnePlus X Android Development] karan5chaos:
Will do :) thanks for being so helpful.

I feel it's something related to sensors. Maybe because I use automatic brightness or something.. I use all black ambience themes as well (smoked battery saving).

I will follow your steps and report back.

Hope it works well :) :fingers-crossed:
[OnePlus X Android Development] rmitchell:
Battery drain

Hi [MENTION=5260857]karan5chaos[/MENTION]. A little while back you asked me how to install mfe. Did you install all the related translations & packs or just as-deamon? I didn't hear anything back from you so guessed it went smoothly.

With beta 4 I'm getting day and a half with mobile data only, whisperfish, six emails including ex refreshing, and auto brightness to name a few settings.
[OnePlus X Android Development] paulivil:
gstdroidcamsrc-0.conf

This last section of the file on my opx looks a bit different from the one that came with the beta-4 sources. I got mine second hand and it had the latest OxygenOS installed so maybe the firmware is different. Both of these configuration files have this same last section but are not identical. So no off stage on flicker-mode and two additional iso-speeds. Can't confirm that this works because I can't make it happen:p

[iso-speed]
0 = auto
100 = ISO100
200 = ISO200
400 = ISO400
800 = ISO800
1600 = ISO1600
3200 = ISO3200

[flicker-mode]
# 0 = GST_PHOTOGRAPHY_FLICKER_REDUCTION_OFF
# 1 = GST_PHOTOGRAPHY_FLICKER_REDUCTION_50HZ
# 2 = GST_PHOTOGRAPHY_FLICKER_REDUCTION_60HZ
# 3 = GST_PHOTOGRAPHY_FLICKER_REDUCTION_AUTO
1 = 50hz
2 = 60hz
3 = auto
[OnePlus X Android Development] lewadedun:
who updated to 2.1.0.9? )))
[OnePlus X Android Development] cvp:
lol, you ask for a new image after 2 hour release ? :D better question is, how we can now update correctly with the new community repos ?
[OnePlus X Android Development] BrokenBee:
This ROM has always intrigued me but I never really had the balls to jump. Can someone guide this noob and tell me how is the ROM as a daily driver? Do android apps work? Whatsapp? Insta?

Are there things that dont currently work?

Thanks!
[OnePlus X Android Development] Koiruus:
I have used this as my daily driver for a week or so. For me it is almost everything I need, but it depends on your needs. There is no (official) Android support, but some community ports (sfdroid and aliendalvik) are being developed. But I don't think that they are usable too soon. There is no native Whatsapp client either. Native Instagram client exists, but I haven't tested it.

There is also some more closed bits (the native Here Maps and XT9 support) in official Sailfish OS, which are missing in community ports including this. The whole list of what's working and what's not working is found from here for example.
[OnePlus X Android Development] karan5chaos:
okay i started moitoring my device now and i did the following steps to tackle battery drain problem :

-Forced powersave all the time

-Reduced max frequency to 1.7 ghz instead of 2.4 ghz.

-Made sure governor was set to interactive.

-Brightness set to 50% (no auto brightness).

-XMPP account not set.

-Patchmanager / patches not activated.

-No activities are setup which might require sync.

So far i'm getting good standby time.

0% drain in 2 hours.

will test whole day to see.

Also running 4 cpu monitoring apps in parallel to get accurate data.

On the average phone sometimes go to sleep and sometimes it doesn't.

Average cpu load on standby tops to 8% rarely (2-3% commonly).

However one interesting thing that i noticed was during one session, cpu0 was highly active !

other cores were stable though.

There were no apps running which would significantly affect the battery life.

Also researched on forums and found out that there is a bug when switched to airplane mode and back. this causes drain and needs reboot for proper powersaving to function.

I will gradually start working on the above list one by one to pin point what exactly drains battery. :)

I will share my results and findings once i have them so it would help other users too :)
[OnePlus X Android Development] rinigus:
Few comments regarding your observations:

Good start. I do wonder how much max frequency is changing things. On average, I get 0.255% of the wall time spent in that state. For comparison, the min frequency is 3% (total is below 100% since "sleep time" has to be subtracted). No syncing - good for testing

sometimes, even on the latest version of SFOS OPX, I get 100% battery capacity during a day. After reboot, it goes to correct value (50%, for example). Since its a rare event (once in ~4 weeks), didn't want to bother the porters about it. But, its good to be cautious in interpreting battery % over 2 hours. As you plan below correctly, run it for longer time :)

if you don't do anything and its not charging, phone should sleep most of the time. it wakes up due to wakeup calls, does what has to be done, and goes to sleep ASAP. that's why at least one cpu has a higher load - it should do all the housekeeping operations, otherwise it should just sleep. Note that the load is calculated (at least when using collectd/systemdatascope) against active CPU time, as its is read out from the kernel stats and kernel does not do much stats while its asleep.

I thought that particular bug was found and fixed in 2.0.{4 or 5}.x. It was related to carddav/caldav sync and I haven't seen it anymore on my phone. however, just few minutes ago the same thread was bumbed up https://together.jolla.com/question/141303/flight-mode-problem-with-both-jolla-1-and-jolla-c/. maybe there is some new bug in 2.1.0.9.