yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Kwaak:
Thanks for this very smooth Sailfish OS conversion PiggZ!

Just reporting that I had a problem with GPS; it didn't seem to turn on at all regardless of settings. I got it fixed by first reinstalling vanilla Cyanogenmod and making sure that GPS was turned on and working, and then restoring the backup of SailfishOS installation I had made previously on top of that.

It is possible that GPS had never been activated on this device (XT1032) before and it needed a little push by correct drivers or something.
[Moto G Android Development] JÃ¤guer:
Yes, in the recovery. I used TWRP
[Moto G Android Development] x000x:
anyone know if this is compatible with xt1031? the boost/cdma version of the moto g?
[Moto G Android Development] Kwaak:
There are some peculiar problems with GPS, magnetometer and accelerometer. I've seen these happening on my XT1032:

First I noticed that magnetometer took its values from accelerometer. Harbour-jollacompass and Messwerk confirmed this. 'Up' was North and 'Down' was South. In the Messwerk I noticed that GPS view also used values from accelerometer. This seems to be "normal state" on my device.

(Hint for occasional reader; You can download Jolla Store apps, such as Compass with command 'pkcon download . harbour-jollacompass' on Jolla phones if you have one.)

After the last reboot I noticed that GPS was not able to get fix (flashing satellite icon), no matter how good view and how long you waited. However, this time compass was working correctly! North was North and South was South; the values were coming from magnetometer.

I went outside and checked the location information in Messwerk. That showed lots of satellites and good visibility/fix but it was not reacting to magnetometer nor accelerometer (the view should revolve). I fooled around in the Messwerk views and was amazed when GPS started working again and got the fix, and at the same time Compass started showing accelerometer values again. Location view started revolving again and was getting values from accelerometer too.

While accelerometer has been actively in part of these problems, actual phone rotation has been working correctly. So it looks like that GPS and magnetometer cannot work properly at the same time.

I don't know why just going into magnetometer and accelerometer views in Messwerk is able to change how SailfishOS handles them.
[Moto G Android Development] DFStorm:
Can't install with TWRP. The sailfish packages throws an error on sideload.

(...)

Verifying update package...

E: footer is wrong

E: signature verification failed

Reinstalling adbd...

Installation aborded.

EDIT:

Finally found my problem: TWRP. Do NOT use the "cyanogen" version. Use only the "vanilla" version (https://twrp.me).. I leave this here if the error get indexed and someone else get that problem.
[Moto G Android Development] DFStorm:
The last release seams to enable the store and adaptation0 repo. This will prevent a "pkcon refresh" and many installations in the warehouse (any packages that needs updated dependency since the packaging). The solution: Disable them:

ssu dr store
ssu dr adaptation0

You may need to be root. If so, type "devel-su" to change to root. The password can be set in developer mode in settings (remote connection password).

Source : https://together.jolla.com/question...et-up-correctly/?answer=137807#post-id-137807
[Moto G Android Development] DeathByDenim:
I just wanted to say thanks. I bought a phone specifically for use with Sailfish and this port works great. The camera was a bit wonky to start with as it would always freeze upon opening the app, but a reboot seemed to have fixed that. Everything else works great!

Thanks [MENTION=455718]PiggZ[/MENTION] !
[Moto G Android Development] Tjsdj:
any progress?
[Moto G Android Development] caibilmg:
Can I flash this over the CM 14.1? I'd like to try this rom a lot. Hope I can. Thx to the developer.
[Moto G Android Development] BryanByteZ:
Nope. It uses a cm 13 base (if I remember right) check op.
[Moto G Android Development] caibilmg:
thx man, I will. One question, do you use this rom? how does it work for you? Thx again!
[Moto G Android Development] BryanByteZ:
I am not using it at this moment but is beautiful and fast I just missed some apps and games from android.
[Moto G Android Development] Fantinel:
Is there no workaround for installing Android apps? I wanted to use Sailfish badly but not being able to install apps is a dealbreaker.
[Moto G Android Development] PiggZ:
Ive started making 2.0.5.6 for the falcon. There are some behind-the-scene changes which are making the build not totally straightforward, but fortunately its nothing massive. Should have something for the weekend. I also heard that ports were getting access to the official Jolla store...i'll check up on this.
[Moto G Android Development] Mindvisi0n:
What about sfdroid? any progress ?
[Moto G Android Development] PiggZ:
No, the falcon just doesn't have the ram to let it work well. I may have another play with it but don't get your hopes up.... Find a native alternative :)
[Moto G Android Development] PiggZ:
2.0.5.6 link is now available on the first post.

There are some changes to bluetooth configs in this release due to an update to bluez 5.... I couldnt pair with my wifes car, so feedback any issues and i'll try and track them down.
[Moto G Android Development] triggerlord:
I might try this out. Does it support cdma?
[Moto G Android Development] PiggZ:
I cant be certain, the CDMA version is the XT1031, and I use the XT1032. There may be a check in the flasher script for the name xt1032, which im sure could be easily modified.
[Moto G Android Development] PiggZ:
Oh, and _big_ news.... Jolla Store now seems to work!
[Moto G Android Development] elfio:
Should it work in previous versions?
[Moto G Android Development] triggerlord:
I have the XT1031.

Edit: I just tried it. It boots but cellular is completely broken.
[Moto G Android Development] neitandias:
recovery

Does it already come with the .img of twrp for example? Sorry for my english, i'm brazilian
[Moto G Android Development] SunitTalwar:
first of all great rom thanks

anyways i was trying to install some android apps on this but could not find it on jolla store or ware house so googled it on how to install it the official website says to intsall the android support from jolla store but i cant really find it there any suggestions on how to install them

i dont need full playstore access just some basic apps like whatsapp and all

thankx

ohkk now i tried to copy the apk to storage and then install it from the inbuilt filemager

select the app swipe down there is install option but that does nothing
[Moto G Android Development] PiggZ:
Sorry, there is no android support. The android support package in the store is only for official devices. Until there is a working emulator/compatibility package, this ROM is only for native apps
[Moto G Android Development] PiggZ:
I looked through the XDA forums to see why...it seems atleast on CM12.1, the CDMA version uses a different build. This is why it doesnt work, sorry.
[Moto G Android Development] triggerlord:
I know the the official CM builds always worked in both.
[Moto G Android Development] Mindvisi0n:
what about dual sim support for XT1033 ?
[Moto G Android Development] Kwaak:
I'm very very happy with this conversion! It is smooth and works well as daily driver. :)

Miscellaneous issues I've noticed:

* Incoming text messages or their notifications sometimes happen twice: first when they arrive, and second time when the device is opened up to answering calls etc. The message is same but just with different timestamp.

It could be side effect of me using 300 MB zram swap configured on /dev/zram0. If it is, its too bad as swap on ram seems to work really well on this device.

* LED issue that Elfio mentioned already. This may be caused by Motorola or CyanogenMod. Fortunately you can tell from the boot whether it is going to work or not; When you see Cyanogen logo and LED is burning it is going to work for Sailfish too until next boot. Just keep rebooting until it burns.

Csd command works accordingly and can be used to test the status of LED in Sailfish itself.

* DATA partition gets destroyed on the device (and effectively all user data within). This has happened to me twice, first with SailfishOS 2.0.2.51 on MotoG 8 GB and now with 2.0.5.6 on MotoG 16 GB.

I suspect that this happens when the device is connected to computer with MTP (USB default mode). MTP didn't work properly and showed pretty much all partitions on the device, but I could not see any files under the biggest mounted disk.

Next time I power cycled the device it did not boot anymore, and the partition could not be mounted in TWRP recovery either. It had to be repartitioned and reformatted, after which I reflashed Sailfish image.

I haven't experienced this after I switched USB to developer mode by default. (And use SFTP to move files.)
[Moto G Android Development] Malk4ever:
Any plans to fix the Wifi-Standby problem?
[Moto G Android Development] Jorge R:
How do you install it?

I install cm12.1, then sailfish and it gives me an error with the file system

PS: I use google translate
[Moto G Android Development] lvprt.singh:
flash the base file not the rom
[Moto G Android Development] lvprt.singh:
How to take screenshot :confused:
[Moto G Android Development] JollaUser:
Hi,to take a screenshot in SFOS 2.0.5.6, press Vol up and Vol down at the same time.

I have a question to the devs as well: I cannot use the backup/restore function in Settings on my Moto G1 2013 running SFOS 2.0.5 over CM 12.1. Is this an implicit absence on all ports or did I miss something?
[Moto G Android Development] Jorge R:
was able to install it again, I downloaded sailfish again.

Really is beautiful

---------- Post added at 06:28 PM ---------- Previous post was at 05:33 PM ----------

How to install android applications?

---------- Post added at 06:48 PM ---------- Previous post was at 06:28 PM ----------

God level disappointment
[Moto G Android Development] PiggZ:
I may have missed something, I will check. Thanks
[Moto G Android Development] PiggZ:
Don't be, there are many good native apps.
[Moto G Android Development] PiggZ:
Thanks for the feedback. I will do my best to investigate. Glad you can use it daily
[Moto G Android Development] Jorge R:
I passed a problem: the state of bluetooth does not pass the "not visible" and does not synchronize with my computer when I want to use kde connect

---------- Post added at 12:58 AM ---------- Previous post was at 12:55 AM ----------

How do I install libraries / dependencies / programs in the terminal?
[Moto G Android Development] Jorge R:
Can this work?

https://forums.oneplus.net/threads/sfdroid-for-sailfishos-on-oneplus-one.474965/

https://youtu.be/Ov4o1f61ErI
[Moto G Android Development] Jorge R:
it works!!!!!!!!!!!!!!!!it works!!!!!!!!!!
[Moto G Android Development] JollaUser:
Bluetooth issues

Can't pair either. Visibility can't be turned on. BT works, you can see other devices, but pairing fails.

So I found a command to turn visibility on and off (as root):

hciconfig hci0 piscan

hciconfig hci0 noscan

This works. However in the process, BT can't be turned off for as long as visibility is on. Sometimes.

"On" and "off" are mirrored in the GUI of BT settings.

I have no solid idea of what I am doing. Journalctl didn't record anything exciting I think, it just said "no setter" for UUID, class and pairable respectively. I could post the output.

Oh, and I can't edit the device name in the GUI, it just stays the same after quitting and reentering settings Nor can I unpair a device in the GUI that I paired while in visible mode via terminal command.
[Moto G Android Development] Jorge R:
"Everyone takes responsibility"

Alleged alien dalvik

http://4pda.ru/forum/index.php?showtopic=559889&st=700#entry57516932
[Moto G Android Development] grepped:
Does this work? Installing alienDalvik?
[Moto G Android Development] Jorge R:
I have not tried it

My cell phone broke

I now have a nexus 4 for a better sailfish experience ;)
[Moto G Android Development] PiggZ:
I havnt managed to get it to work yet
[Moto G Android Development] PiggZ:
What works?
[Moto G Android Development] sub77:
one post before he asked about sfdroid, so possible that, which would be cool.
[Moto G Android Development] Jorge R:
Sfdroid works but very slow, it must be because it was not made for the bike g. If you build a version for the bike g should work.But they could also check the 4pda link, see the Aliendalvik package, modify it for the bike and we would do better
[Moto G Android Development] Kwaak:
Uptime on my MotoG SF2.0.5.6 is now 36 days. Constant use as a main phone all this time. It seems very solid and I haven't missed texts or calls that I know of. Battery lasts for approximately 3 days for me with mail, contacts and calendar sync enabled. I'd say at least two days with XMPP based chat enabled too.

Zram swap is set to 200 MB and no force closing of apps has happened. Usually swap usage stays at 100 MB. I haven't had force closures when running weather, contacts, browser, gallery, camera and few other random apps at the same time either.

Pretty much only problems I've had this time have been with positioning; when it fails, or very soon after, sailfish-qml process gets stuck running cpu at 100% and preventing phone going into sleep mode. Killall for sailfish-qml process fixes that, after which the positioning starts working again.

(Note regarding positioning usage: I use Here maps package from Jolla1 device to get Helsinki Transit Live application to work.)

As a minor note there is also a problem with multimedia text messages; they do not load and show forever spinning circle if you try to enforce loading of them manually.
[Moto G Android Development] prototype16:
Update required

Hello [MENTION=455718]PiggZ[/MENTION]

When are you going to release the Android support update I'm ready to test it if it's in beta.

Need WhatsApp badly :(

Overall great rom no random reboot just small BT bug.

Please update

Thanks :)
[Moto G Android Development] celrau:
Can you tell me how you've increased the zram swap, please.
[Moto G Android Development] Kwaak:
I did it like this:

Create swap.sh file:

devel-su

vim /home/nemo/swap.sh

#!/bin/sh
zramctl -s 209715200 /dev/zram0
mkswap /dev/zram0
swapon /dev/zram0
swapon -s

Set the file as executable:

chmod +x /home/nemo/swap.sh

Run the script (still as devel-su):

/home/nemo/swap.sh

You can run it any time or set it up to run automatically after the boot. Personally I reboot my phone so seldom that I just run it manually. (I haven't bothered checking if /etc/rc.local can be used to automate it during the boot or how to set it up as a proper systemd service.)
[Moto G Android Development] celrau:
Thanks.
[Moto G Android Development] PiggZ:
I will see about adding this to the image.
[Moto G Android Development] PiggZ:
Updated the first post with link to the new version based on 2.1.0.11

Possible some things are broken, so please test! Ive booted is, and confirmed wifi and basic things are functioning. Ive got a small fix planned for BT, and will see about adding zram.
[Moto G Android Development] T4t4nk4881988:
ok just testing.I have read sfdroid can run android apps or some other method.any help?installed right now and only android apps I nee are youtube with chromecast support,whatsapp and a rss reader.thanks.

---------- Post added 22nd April 2017 at 12:24 AM ---------- Previous post was 21st April 2017 at 11:55 PM ----------

can you tell me what have to type in terminal for the cpu at 100 % all the time and I can't install any app from the open repo.keep saying error about python or else and after one reboot os does not boot at all.
[Moto G Android Development] Kwaak:
Running now with 2.1.0.11. Seems to work overall except that swipes starting outside of the screen require *very* precise motion. Slightest deviation from the straight line in the movement causes swipes not to register at all.

It is mostly visible in swipes from the left and right, but testing with calculator in landscape proved that it was just about that left/right movements are by nature harder to do than up/down.
[Moto G Android Development] T4t4nk4881988:
yes I have noticed the swipe bug. can't install app either due to some errors. any help?
[Moto G Android Development] Kwaak:
This fixed Jolla store for me:

devel-su
ssu lr
ssu dr adaptation0
zypper clean -a
zypper ref -f

Ssu is the command for managing repositories (lr = list, dr = disable) and zypper can be used to manually clean the package cache and then refresh it. This problem seems to be common with Nexus 5 conversion; adaptation0 repo does not work, and it then halts any other runs that need any repositories.

After Jolla Store gets one clean run, adaptation0 is enabled automatically again and it works after that.

I think this is issue either with setting up privileges for the repo or just wrong paths. At first 'ssu lr' shows that adaptation0 can be found only under global repos, and it does not work. When it starts working (and gets enabled automatically), it can be found under both global and user repos.

---------- Post added at 08:28 AM ---------- Previous post was at 08:10 AM ----------

Besides of edge swipe issue here is one small issue with easy fix:

2G/3G/4G AP settings do not get saved because radio does not have privileges to the required directory.

devel-su chown -R radio:radio /var/lib/ofono

Found it mentioned in Nexus 5 thread at TMO:

http://talk.maemo.org/showthread.php?t=96932&highlight=nexus+5
[Moto G Android Development] T4t4nk4881988:
thanks.any way to install android apps?alien dalvik?
[Moto G Android Development] Kwaak:
I suppose there may be some kind of frankeninstall solution out there, but I haven't looked into them. I'm quite happy with plain Sailfish. Sorry! :(

Maybe someone in this thread, who got either community effort Sfdroid or commercial Alien Dalvik packages from original Jolla phone to work, could elaborate if it is worth the trouble to try them out.

Memory wise it would be a tight fit on MotoG. Original Jolla had approximately 1.4 GB of memory if one counts its use of swap on MMC, and even then it was running out of memory very easily. Aggressive use of zram could help some on MotoG, of course.
[Moto G Android Development] T4t4nk4881988:
every app I try to install say dep error and does not install.say libqt5core.so.5 is missing.how to fix?
[Moto G Android Development] Kwaak:
It depends on what you are trying to install and from where.

Qt was upgraded to 5.6 in SailfishOS 2.1.0.11, so some applications that use it may be missing dependencies if the Qt version does not match. Jolla store should not have issues (after the initial adaptation0 repo problem has been fixed), and at least the apps I use from Warehouse have already been updated to use Qt 5.6.

But if you are copying and installing rpms packages (that use older version of Qt) manually on SFOS 2.1.0.11, you are likely to get dependency problems. To fix the problem you have to get newer versions of the packages.

Edit: Since I suppose that Qt 5.6 should be at least somewhat backward compatible (if you are still running 2.1.0.11 and did not go back to 2.0.5.6), you could try installing something that should not use Qt at all. Like for instance htop command, and see if that gives error too. It could be also be just a matter of `pkcon refresh` command to refresh the repos...

Edit2: I checked that my MotoG with SFOS 2.1.0.11 has /usr/lib/libQt5Core.so.5.

It's linked to a file /usr/lib/libQtCore.so.5.6.2. If you cannot find these two on your device your SFOS installation has somehow corrupted.
[Moto G Android Development] celrau:
Aside from the already mentioned swipe bug the only other one I found so far was no vibration. Thanks PiggZ once again.

---------- Post added at 11:51 AM ---------- Previous post was at 11:13 AM ----------

Gallery app doesn't play videos
[Moto G Android Development] joostmaghetweten:
how about CM 14.1?

Hey man you're doing a great job! I ve read all this on this forum now I'm very eager to try sailfish on my motoG .

I've my motoG now running CM 14.1, where I just read CM 12.1 would be the start to install the failfishOS.

Q: is this CM12.1 "and later versions"

i tried with 14.1 but i got stuck in some TWRP loop.

I'm afraid for bricking my smarttoy if downgrading to 12.1

(by the way it is Lineage 14.1 I am running)
[Moto G Android Development] celrau:
Must be cm12.1 he linked to. I don't think you can brick your phone downgrading but wait for a more competent opinion, I might be wrong.
[Moto G Android Development] BryanByteZ:
Wipe all and install cm12.1 just like a normal ROM.
[Moto G Android Development] T4t4nk4881988:
yes I have switched to previous version but the use is limited and the phone lag sometimes with apps and browser and sfdroid is very slow and no chromecast support. is not a daily driver for me
[Moto G Android Development] joostmaghetweten:
you were right.

back to 12.1 didn't resulted in no troubles

and now sailfish is running!

happy me!

---------- Post added at 04:47 PM ---------- Previous post was at 04:39 PM ----------

thanks..

I needed 3 reboots before evething settled.

and while doing so, I found out my warning light could do WHITE . I only had seen it in red.

---------- Post added at 04:48 PM ---------- Previous post was at 04:47 PM ----------

thanks..

I needed 3 reboots before evething settled.

and while doing so, I found out my warning light could do WHITE . I only had seen it in red.
[Moto G Android Development] elfio:
I have no vibration with 2.1. Any idea how to solve it?

Edit:

I tested it for day or so and I found a few things:

- There was no vibration enabled by default. (Later, when I went back to previous releases I realized the control was in settings -> sound, so I cannot say if this is actually a bug)

- No way to enter in settings -> backup.

- The already said swype problem from the borders. In my experience the most hard was from right border, followed by left border, top border and bottom border.

No everything I found was bad!

- By far, this is the most smooth release I tried.

- Installation from openrepos doesn't block the app anymore, so the experience is great.

- Memory management is better than in previous releases IMO.

- Better battery management IMO.

Thank you [MENTION=455718]PiggZ[/MENTION] for your time and effort!

Edit 2:

I went back to previous releases because border swype is quite annoying and a key part of SFOS UI, so I cannot make any test now or check logs. If you need any just say it and I'll try to flash it again for testing purposes.
[Moto G Android Development] celrau:
Same experience here, overall performance is the best over previous releases. I still have 2.1 on my phone and since it's not the one I use daily I can test and provide logs so [MENTION=455718]PiggZ[/MENTION], just ask.
[Moto G Android Development] PiggZ:
Perhaps this is the issue

https://together.jolla.com/question...lla-c-aqua-fish/?answer=156593#post-id-156593
[Moto G Android Development] elfio:
Maybe they didn't solve it?. Is vibration available in the last release?

In the end I had to switch back to Android because I couldn't restore the vault with all my data :-\

I hope to come back in later releases.
[Moto G Android Development] celrau:
Most likely. Is it something you can fix? I can't tell if I find the lack of vibration more annoying then this.