yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] PiggZ:
I wont advertise this that much as its WIP. There is a new image at http://images.devaamo.fi/sfe/falcon/sailfishos-falcon-release-2.1.0.11-pgz25.zip ...this image is built using packages built on the mer build server, instead of me locally. It is much cut down, its a basic install and you will have to add all apps yourself, not even warehouse or jolla apps are included (but the store works). You can install this if you wish, but it isnt really necessary, you can get the advantage of it youself by setting the adaptation0 repo as follows:

devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/nemo:/devel:/hw:/motorola:/falcon/sailfish_latest_armv7hl/#' /usr/share/ssu/repos.ini

This will configure the device specific repo to my devel repo (in the future this will become a testing repo).

If you then refresh the repositories, and enter:

version --dup

it will perform an upgrade, using the online devel repo. At the moment, there is nothing new compared to my last image, except and new releases can be made OTA, instead of flashing an image, making my, and your jobs easier. Hopefully i'll start rolling in some fixes.
[Moto G Android Development] grepped:
[MENTION=455718]PiggZ[/MENTION] just curious, Do you use this ROM for your daily usage?
[Moto G Android Development] PiggZ:
Not any more, I did for a while, but then my work earned me a free Jolla C
[Moto G Android Development] PiggZ:
Ok, vibration is fixed, it was just some missing packages.

For those running from the OTA server, just type

version --dup

from devel-su, and everything should update.

Otherwise, use zypper to install

ngfd-plugin-droid-vibrator and qt5-feedback-haptics-droid-vibrator

[MENTION=5188609]celrau[/MENTION]
[Moto G Android Development] celrau:
This is excellent. Works as advertised. Thanks PiggZ.
[Moto G Android Development] PiggZ:
If you do a version --dup now, you should get a slightly more stable camera. I changed the delay from 15 seconds to 25 seconds to ensure the service starts properly. You still have to open it once, kill it and open it again though. There is also some minor fixes to clean up the systemd journal. No longer are there invalid mount units that cannot be started. To fully clean these up you should also do the following as root

rm -f /etc/systemd/system/local-fs.target.wants/sys-fs-*.mount

rm -f /etc/systemd/system/local-fs.target.wants/none.mount
[Moto G Android Development] celrau:
Hi, I don't know what changed from the original 2.1.x but the battery runs out really fast, it discharged 5% in 3 hours with no activity. How can I debug this? Worth mentioning, the best battery for me was with 2.0.5.6. Also the compass doesn't work, don't know if it worked before upgrading.
[Moto G Android Development] PiggZ:
Hi, how is it going with more prolonged testing?
[Moto G Android Development] celrau:
Not that bad :). Actually almost everything works as expected with these exceptions:

- mtp stops working after transferring a few files (regardless of format/size) and I have to reconnect the USB cable to get it working again

- camera seems just like before but that doesn't bother me

- weather on the lock-screen shows Today (being Saturday) and next, Monday, Tuesday, etc. while the app shows Today, Sunday, Monday, etc.

- as mentioned, the battery goes kind of fast. Could also be the age of the device but CM/Lineage did much better.

Overall the experience is quite pleasant with SFOS too bad for the lack of a good native Signal or Whatsapp to be able to make wifi calls. Talking of which, did you have a look at Anbox? Any hope to get it working with SFOS?
[Moto G Android Development] elfio:
Ey, I'm giving a new try to the last release you uploaded here, but I cannot unlock the phone. However I can change the ambiance, so the touchscreen is not the problem. :(

Any idea how to solve it?

Edit: mal and r0kk3rz helped me and now I can use it! I also updated through OTA without any problem. The only thing not working is the backup functionality. I don't know why, but settings up just freeze.

Edit2: I cannot find the xt9 packages even after refreshing pkcon

Edit3: I cannot play videos neither from Youtube or recorded by the camera. I asked on #sailfishos-porters and mal told me it looked like a symlink issue, something related to gst-droid and the android side. Logcat showed some error messages: https://gist.github.com/helfio/5d40c64850f8ffa68afd49d7057f3fc7
[Moto G Android Development] PiggZ:
I just set up a dropbox account, and created a backup no problem. How are you doing the backup?

Regarding jolla-xt9, it looks like Jolla made it unavailable to community ports (we were never allowed to include it, and it had to be added manually) https://together.jolla.com/question/155542/jolla-xt9-missing/

And for youtube, again, it works here! Can you pastbin the output of "ls -lh /etc" so i can check if the links are there. And also check if droidmedia and gstreamer1.0-droid* are installed.
[Moto G Android Development] celrau:
I can't play video either..
[Moto G Android Development] elfio:
I could use the camera just after flashing SFOS on the phone, but it doesn't seem to be working again. Not even reseting configuration from dconf. Any idea?
[Moto G Android Development] celrau:
Same here..
[Moto G Android Development] PiggZ:
[MENTION=5188609]celrau[/MENTION] [MENTION=5762231]elfio[/MENTION]

I will fully wipe, flash and update and see what happens, but backups, camera and video should work
[Moto G Android Development] prime3sdro:
Is this the latest version?
[Moto G Android Development] prime3sdro:
I have fully wiped, flashed sailfishos-falcon-release-2.1.0.11-pgz25, after that it worked!! but after updating the sfos it did not start. So I have to use without updating it :(
[Moto G Android Development] Kwaak:
Happened to me too that online update didn't work out on the first try. Reflashed and the second was ok.

On the first try I possibly made a mistake by disabling adaptation0 before running the commands that change it to correct repo. It could have caused missing hw packages...

Finally reverted back to 2.0.5.6 since SFOS without fluid side swipes is not very nice to use. :(
[Moto G Android Development] grepped:
Somehow, Edge swipe is not consistent on my phone. Is it because of screenguard?
[Moto G Android Development] Danick8989:
i installed the latest build but when i try to version --dup it complains about ssu authentication. "ssu s" says the ssu.ini insnt writeable but when i check at /usr/share/ssu/ (where the file should be?) theres no ssu.ini file
[Moto G Android Development] grepped:
[MENTION=455718]PiggZ[/MENTION] When on an app screen, if I swipe from left or right edge, It doesn't go to HOME screen always. I have to do it multiple times. What could be the issue?
[Moto G Android Development] grepped:
How to resolve 'no vibration' issue?
[Moto G Android Development] superproskiller:
Setting up the ota update should fix it (described on the first page)

Alternatively you can also run this

devel-su zypper install ngfd-plugin-droid-vibrator qt5-feedback-haptics-droid-vibrator

to manually install the packages afaik.
[Moto G Android Development] superproskiller:
Updating to 2.1.1.25 via ota fixes the gestures!

Run the following commands from the newest build to to fix it:

devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/nemo:/devel:/hw:/motorola:/falcon/sailfish_latest_armv7hl/#' /usr/share/ssu/repos.ini
ssu re 2.1.1.25
devel-su zypper clean -a
devel-su zypper ref -f
version --dup
sync
reboot

Credits for the fix go to piggz who pointed me in the right direction on irc.
[Moto G Android Development] grepped:
Thanks for your inputs. It was up to date already. I found out that(by flashing cgm), it was an issue with vibration motor. Its shaft was bent. I straightened it and put a little drop of oil on it. Its working for now.

Another issue is of camera. I have clean installed sailfishos, still camera doesn't work. Do you know how to make it work?
[Moto G Android Development] Kwaak:
It's nice that gestures work again as they should. Thanks! :)

New issues with 2.1.1.25:

Unknown installation sources cannot be enabled. It's just not in the menu anymore.

Gyroscope/acceleration does not work.

Camera does not work. It gets stuck during starting. I tried couple of reboots and waiting for a long time, no go.

Positioning does not seem to work. At least no qt5-qtpositioning package.
[Moto G Android Development] superproskiller:
That's very weird, other than occasionally the camera-issue I experience none of those problems. Maybe reinstalling will help.
[Moto G Android Development] Kwaak:
Thanks! :)

Something must one wrong then in my update. I'll do a complete reinstall. If it works, there might be something wrong in how the previous OTA update played out with this latter one.
[Moto G Android Development] grepped:
I have observed issue of "Unknown installation sources cannot be enabled. It's just not in the menu anymore." after update.

---------- Post added at 02:58 PM ---------- Previous post was at 02:56 PM ----------

Hi all, Vibration is not as expected on my phone. On incoming call, it just gives a short vibration at the starting. I tried editing ffmemless.ini, setting env varilable etc. but no luck. Does it vibrate in a loop with longer vibrations for incoming call on your mobile, just like it do on any other mobile?
[Moto G Android Development] Kwaak:
I did a reinstall; first sailfishos-falcon-release-2.1.0.11-pgz25.zip and then exactly these:

devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/nemo:/devel:/hw:/motorola:/falcon/sailfish_latest_armv7hl/#' /usr/share/ssu/repos.ini
ssu re 2.1.1.25
devel-su zypper clean -a
devel-su zypper ref -f
version --dup
sync

And reboot.

I did not login with Jolla account until SailfishOS 2.1.1.25 was installed.

Unfortunately, it's still no go; sailfish does not react to landscape position, camera hangs indefinitely and there is no selection for untrusted sources in the settings menu.

I did run zypper clean -a and ref -f couple of times and version --dup, but it could not find any missing packages.

Yet I'd still think that there may be packets missing, or maybe complete repo since version --dup does not give any errors and everything is up to date.

Can someone with working 2.1.1.25 check if package list (packages.txt) and repos (repos.txt) match in this mails attachments, please?

They were extracted as 'devel-su' with:

rpm -qa | sort
cat /usr/share/ssu/repos.ini
[Moto G Android Development] grepped:
I have seen these issues after update. One more issue I have seen is - No in call audio except on a speaker
[Moto G Android Development] superproskiller:
The version I originally installed was 2.0.5.6 and then updated from it (first to 2.1.0.11 and then to 2.1.1.25). I just (apparently wrongfully) assumed that it won't make a difference compared to directly updating from 2.1.0.11.
[Moto G Android Development] superproskiller:
[MENTION=3655858]Kwaak[/MENTION] that's weird: After a reinstall I experience the same issues :/

But installing third party software works even without the setting.

Installing qt5-qtpositioning via

devel-su pkcon install qt5-qtpositioning

and then rebooting fixes the rotation for me so the only problem remaining is the camera (which I personally don't care about).

EDIT: well ****... Installing qt5-qtpositioning seems to kill wifi and removing it again takes a lot of apps with it D:

EDIT2: Shutting down, waiting a few minutes then turning it back on fixed it again :)
[Moto G Android Development] Kwaak:
Yep, indeed it seems to matter. I wasn't able to upgrade from 2.0.5.6 (repo.xml error) but I tried from sailfishos-falcon-release-2.1.0.11-pgz23.zip instead of pgz25 I had used previously, and rotation started working again. No go with camera or untrusted sources though.

Have to try again with updating from 2.0.5.6.

---------- Post added at 03:53 PM ---------- Previous post was at 03:48 PM ----------

Thanks for testing it, and sorry for ruining it for your setup! :|

I tried to fix camera by reinstalling jolla-camera while adaptation0 repo was disabled, but that didn't help. Maybe the camera packages or HAL stuff that do not get updated needs to be from 2.0.5.6.
[Moto G Android Development] Kwaak:
Latest try: 2.0.5.6 -> 2.1.0.11 -> 2.1.1.25. This had the same result as directly going from 2.1.0.11-pgz25 to 2.1.1.25.
[Moto G Android Development] Alexdavij47:
How can i add the android tm support to this build because there is no such an option in the jolla store and thank you forma porting this cool rom
[Moto G Android Development] githzy:
i'm installed cm 12.1, then last zip but touch not work and i cant choice language, what the problem?
[Moto G Android Development] DeathByDenim:
I think the gstreamer update of Nov 11 killed the camera for good. Now all I get is a test screen. Before that update, the camera was tricky too of course, but it eventually worked after many phone restarts and camera app restarts. And once it worked, it stayed working.

I tried to look at the repositories that [MENTION=455718]PiggZ[/MENTION] maintained, but I couldn't see a way of downgrading to the previous library. I also tried to find out where the sources are kept so I could maybe compile it myself and see what the differences were.

I currently have gstreamer1.0-droid-0.20161124.0+master.20161206135437.1.gef4bf98-10.2.3.jolla.armv7hl. So my question is if 10.2.2 is still available somewhere? Or can somebody point me to the source?
[Moto G Android Development] Igorperrotta:
Is this dead? or is it still being updated?
[Moto G Android Development] FaZeElektra:
Build PGZ25 issues

The camera doesn't work... I'm also not able to install any new app from the Jolla Store. All else is fine, quite stable. My device is XT1032, dual SIM, 2+16GB

Also, using web-browser, cannot load ordinary .jpg images, screen begins ghosting

I tried to enter via SSH using both PuTTY as well as local terminal,and entered both the lines of code (for changing repository and update command version --dup), and even on entering correct password, it repeatedly says Auth Fail.
[Moto G Android Development] FaZeElektra:
Unable to set the remote repository

Upon running the above code in the terminal, and giving correct password, it keeps saying "Auth Failed". I even tried running PuTTY from my computer (an SSH c/s protocol) but still no avail. I'm unable to set the website as a repository.

As for the ROM, I've the build 2.1.0.11(lijoki) (armv7hl)

And device adaptation 0.0.1+master.20160227155834.ec35f74.1

Camera is not working, I'm unable to load ordinary jpg images in the browser. Also, apps from the Jolla Store cannot be installed. Rest all is stable, and working fine.
[Moto G Android Development] benclark006:
Could someone with a working install tell me the checksum of the zip file (pgz25), i think my one is a bit corrupted. Thanks!
[Moto G Android Development] Port r:
download links please

download links are dead, someone please post a link to the latest one or the one that work good or whatever u have.
[Moto G Android Development] regido:
Moto g falcon,bootloader c'ant be unlocked to old?

Hi,

greetings to al,I am new here.

In this moment I am a little shocked.

I am reading everything here and it seems a very nice project.

So I've bought two moto g.....one for me and one for my friend. (second is on the way)

Naturally I am reading everywhere. So I find that motorola non will unlock th bootloader on *older*phones.

I've found this list of phones that can be unlocked.

oh,i c'ant make links

Moto G (first Gen) seems are not part of it.

Have I am understanding anything wrong? My english isen't very good.

There is a way to unlock the bootloader if motorola non will unlock it?

I was so happy for this little project.

Anybody can help me please??

Thank you very much.
[Moto G Android Development] regido:
Solved !!!!

Hello,

excuse me for the wast of time.I've unlocked the phone in this moment.

saluti :o :D
[Moto G Android Development] regido:
Help,HELP download links aren't working

Hello.

perhaps i am stupide?

This is not a new project i now.........but its strange.

The downlod links aren't working.

Please,pleas help me.

I 've bought 2phones for my little project to install saailfish on them.

Iam a nope (yes in some strange way i've installed Sailfish on Xperia X)

I've study a lot for this project, invest som little mony I have.......

:crying:: :crying:

Download links are timing out........what can I do?

---------- Post added at 08:51 PM ---------- Previous post was at 08:45 PM ----------

There will be other links to have this great os?
[Moto G Android Development] regido:
Yes

I also need it please help....:cowboy::crying:
[Moto G Android Development] regido:
Hello,

I've understood ,i must do it myself.Naturally in this moment i am reading HADK........

Hmmmm i hope i can do it.

Naturally I've immediately a new problem.

I don't know witch base.img i can use.

Lineage 14.1 is not named in hadk,

Lineage 15.1 is named in hadk but for my device (moto g falcon) existing only unofficial.

Iam a nope......whats the right choice?

Exuse my bad english.

I would like to thank you for the patience......It isn't simple to enter a new world.

Witch img 14.5 or 15.1 ?

Naturally i will going to ask the same question in irc.......any suggestions?

Thanks.
[Moto G Android Development] Galaxyninja66:
Hybris is up to Lineage OS 16.0.

I reccomend 14.1. If I win a bid on a G I might try as well. Ping Piggz for his sources if he has them.
[Moto G Android Development] Kuato:
Link is dead?
[Moto G Android Development] Kuato:
I want this os on my falcon really badly, please someone share the mirror link for this please... ?
[Moto G Android Development] aj07:
Me too
[Moto G Android Development] IDoStuffOnMyPhone:
still waiting

PGZ11 can be found on the internet archive

and pgz13
[Moto G Android Development] elfio:
There is an SDK for SailfishOS if you're interested: https://sailfishos.org/develop/sdk-overview/
[Moto G Android Development] Valbon:
Thanks I will look that :)
[Moto G Android Development] PiggZ:
Yes, I use Telegram, install Sailorgram from the warehouse store :)
[Moto G Android Development] PiggZ:
Im just creating a new version and will upload it later. This has fixed signal/modem handling and mp3's _might_ work. Im struggling with GPS and Video playback/camera .... Qualcomm does some very odd things in its drivers, it looks as though the video drivers _require_ surfaceflinger, which obviously is a no-no :/
[Moto G Android Development] PiggZ:
New release available on the front page, should have much better telephony and possibly mp3 playback is working

Its obviously a PITA restoring all settings/accounts, so im investigating how to do that.
[Moto G Android Development] elfio:
Should we wipe and flash or it's possible to dirty flash?

Also, personal data is erased following your recommended way to do it?
[Moto G Android Development] PiggZ:
Yes, data is lost because the root directory is removed, which includes the home directory. From the android perspective, it is the folder /data/.stowaways/sailfishos.

There is a 'backup' program built into the sfos settings menu, this creates a backup of accounts/settings in /home/nemo/.vault . The backup program also has an option to store to sdcard, but it doesnt recognise the internal 'sd' space as storage. It is probably possible to zip the .vault folder, copy it to /sdcard, flash, unzip, then restore the backup .... i just havnt tried yet :)
[Moto G Android Development] kennylrmsailo:
Is the camera fixed in the new build? Please advice
[Moto G Android Development] PiggZ:
No
[Moto G Android Development] elfio:
I wiped and flashed and no problems here.

Better sim management bu apparently no changes on mp3 and mobile signal tough :-/
[Moto G Android Development] PiggZ:
GPS is working! https://twitter.com/adampigg/status/707322129101017088
[Moto G Android Development] kennylrmsailo:
Yep. I checked it myself later. Thanks [MENTION=455718]PiggZ[/MENTION]. Keep it up. MOTO g is the only phone I have right now, it feels great when people like you build something new. It makes us proud to have MOTO G
[Moto G Android Development] PiggZ:
By the way ... if anyone does happen to know about the android stack on the moto-g relating to camera/video do let me know! The problem is that both the camera and video playback seem to be tied to SurfaceFlinger running. No other sailfish porter has seen this on another phone, but it happens on the moto-2 1st and 2nd gen. Maybe there is a qualcom driver that expects surfaceflinger, and it can be replaced with something else?
[Moto G Android Development] Rocketval:
Maybe you should ask this to our cm developers.. :confused:
[Moto G Android Development] PiggZ:
Added link to PGZ7 which should have working GPS.

If the GPS icon is displayed but you dont get a lock do

fastboot erase modemst1

fastboot erase modemst2

as per known problem in CM12
[Moto G Android Development] elfio:
[MENTION=455718]PiggZ[/MENTION] for screen issue you maybe can ask to [MENTION=3816475]matmutant[/MENTION] which is the OP of the CM13 official thread or ask on IRC: http://wiki.cyanogenmod.org/w/CM_IRC_channels
[Moto G Android Development] Paul L.:
There isn't a perl binary on the system, nothing you can do, it's up to the dev to compile and include perl.
[Moto G Android Development] fefferico:
I'm using MultiROM:

I've just installed it as 2nd ROM over CM12.1 Unofficial 24/02/2016 (after wiping cache/dalvik/data) as written in the "setup instructions".

Setup went fine...

but now it is stucked on boot.logo and it doesn't want to go on :)

Am I doing something wrong?

Thanks in advance for your help
[Moto G Android Development] abeloman:
Same here, stuck at bootlogo :(
[Moto G Android Development] PiggZ:
you dont need me for that

open terminal and type

pkcon install perl

;)
[Moto G Android Development] Paul L.:
I am used to not having package management in Android, so I completely forgot about that.

I should also ask, doesn't pkcon also solve package dependencies? If such, he could just do pkcon install openvpn and let the package manager to pull whatever is needed I believe.
[Moto G Android Development] tiagp:
Is there a app like Google Maps with navigation for SailfishOS?
[Moto G Android Development] celrau:
install apps

Is there a way to install packages with rpm or similar? I guess it would need root password? Any help on that?

And BTW thanks for this rom, excellent work.
[Moto G Android Development] tiagp:
You could use pkcon like this:
[Moto G Android Development] celrau:
pkcon install nano = segmentation fault :(
[Moto G Android Development] celrau:
No ringtone option on new ambiance.
[Moto G Android Development] celrau:
No notification lights.
[Moto G Android Development] PiggZ:
Sure there is, is, seen seen mine flash occasionally...can be certain it happens every notification though.
[Moto G Android Development] PiggZ:
Works OK here. Try removing /var/cache/zypp
[Moto G Android Development] elfio:
Hi guys, I made this: https://github.com/helfio/sailfishbackup while system's backup doesn't work for openrepos apps.

I didn't tested full so be careful (although I plan to do it).
[Moto G Android Development] PiggZ:
cool stuff, have you tried copying the tar to /sdcard?
[Moto G Android Development] Justice™:
How hard would it be to get this running on the Moto G 4G (peregrine)?
[Moto G Android Development] PiggZ:
Probably not too hard, so long as there is a CM port, a sailfish port can be done, but I dont have one so couldnt do it. Was thinking of getting the new Moto-G titan though.
[Moto G Android Development] elfio:
No I didn't. Should this folder be preserved on flash?
[Moto G Android Development] PiggZ:
yes