yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] celrau:
Excuse my ignorance but why is it necessary to flash a whole CM rom before flashing Sailfish, my understanding is that Sailfish OS only needs some drivers from Android, not the whole thing with UI apps and so on? Would it not make more sense to use a stripped down CM rom for this and save some space (I have the 8GB model)? I'm thinking of how Firefox OS solved the integration with Android.

On another note, Sailfish OS grows on me the more I use it, keep up the good work PiggZ.
[Moto G Android Development] grepped:
It does not work on XT1033. Can you please confirm?

Definitely a great piece of work. I tried to flash it on my xt1033, but it stuck in boot loop. Can you/or any tester please confirm that It shouldn't work on this model? It will be very useful for others who want to try this ROM.
[Moto G Android Development] PiggZ:
its a bit more than just drivers..also the ril stack for calls, the codecs for camera and video (if i could get it to work), audioflinger is also needed for calls, the sensor framework is needed, and probably a bunch of other stuff. it would be a worthwhile goal to get sfos onto the /system partition, but at the moment its not priority
[Moto G Android Development] PiggZ:
what is the codename of the xt1033? it shouldnt flash on amything other than falcon. im only working on xt1032, anythmg else is unsupported, sorry
[Moto G Android Development] celrau:
Another issue: volume control for calls (earpiece) doesn't work and it's very low. For Android I edit mixer_paths.xml to increase it but SFOS? Tried all hacks I found on Google but nothing worked unfortunately.
[Moto G Android Development] grepped:
XT1033 is also known as FALCON. It is dual sim variant of MOTO G. XT1032, XT1033, XT1034 all are falcons. Anybody tested XT1033?

---------- Post added at 04:03 PM ---------- Previous post was at 03:49 PM ----------

I was flashing pgz4. Flashed pgz7. It just booted. Let me see, will update you. THanks!
[Moto G Android Development] SH1M4BD3:
Ive flashed it XT1033 2nd rom Multirom stuck on logo wont even enter settup neither homescreen
[Moto G Android Development] grepped:
Nevertheless, It booted on XT1033 and it worked. Sailfish looks great. and Thanks for your efforts [MENTION=455718]PiggZ[/MENTION]

Unfortunately, as you considered xt1032 only, my second SIM was not detected. I can't continue keeping my second SIM off. Going to back unified CM ROM. thanks!
[Moto G Android Development] Maximilian1st:
[MENTION=5876564]grepped[/MENTION] keep an eye on this project as the dualsim support should be present in the next sailfishos version, htat is the reason it is not present in the current port.
[Moto G Android Development] pierosimo:
It's possible to install apk like in the first version?
[Moto G Android Development] grepped:
[MENTION=7085088]Maximilian1st[/MENTION] - Ok, thanks.
[Moto G Android Development] elfio:
Android apps are only possible to install and use on devices with Alien Dalvik, which is a propietary piece of software of a third party (not Jolla's) and it's not present on ports. So no, you cannot install apks.
[Moto G Android Development] PiggZ:
unless we use sfdroid or apkenv...but camera is higher priority
[Moto G Android Development] celrau:
Am I the only one with a very low earpiece volume? Any way to improve on that?
[Moto G Android Development] PiggZ:
no, mine is quite quiet also, not sure on fix yet.
[Moto G Android Development] PiggZ:
i just took a photo!
[Moto G Android Development] Rocketval:
Amazing! :D
[Moto G Android Development] Yogi wicahya:
Camera fix?
[Moto G Android Development] CrysiZ:
If he'... took a photo', then that's a yes.
[Moto G Android Development] celrau:
Congratulations! I hope we will share your experience soon :)
[Moto G Android Development] AssoDiPicche:
Signal strenght? Whats is?
[Moto G Android Development] PiggZ:
https://mobile.twitter.com/adampigg/status/710364827391287296?cn=cmV0d2VldA==&refsrc=email
[Moto G Android Development] Yogi wicahya:
Share please ???
[Moto G Android Development] DFStorm:
The hardware work perfectly except for camera. Now that you made it work this sailfish OS port will be complete :D And awesome.

For now I can't make the "jolla shop" download anything (I did add a jolla account and activated it) (But their "AUR" like system, "warehouse", work like a charm). The problem is, as I know, that we need the "Jolla utilities" package to install android App on it. I searched for the rpm package on the web but didn't find anything... However I found the source code (github.com/sailfishos/sailfish-utilities), I tried to build it with jolla sdk without success. Do anyone figure out how to install an android app on this sailfish port ? :)

I just read others post. This build does not contain the "alien dalvik".. so the sailfish-utilities, that can control it, will be useless. Sorry for asking.
[Moto G Android Development] Yogi wicahya:
Can't install android apps ?
[Moto G Android Development] PiggZ:
really??? thats becuase this isnt android .... in the future i _might_ try and port an android compatibility layer, but not just yet
[Moto G Android Development] PiggZ:
so, after coming up with my fix for the camera, ( a stroke of hackish genius!) and discussing it with the other sailfish devs, we came up with the root of the problem and real fix ... so...just wait a bit longer ;)
[Moto G Android Development] celrau:
:good:
[Moto G Android Development] Yogi wicahya:
Dual sim not working?
[Moto G Android Development] sathvik07:
[MENTION=455718]PiggZ[/MENTION] is Jolla Store working .??.....is it possible to install apps like whats app, youtube from jolla store..?
[Moto G Android Development] PiggZ:
No Jolla store, you can only use openrepos warehouse. Video playback doesn't work, so no YouTube, and and with whatsup, I got banned, but others report I works ok
[Moto G Android Development] dr.pythagora:
how it the battery performance?

how good is battery performance with sailfish?

I have tried sailfish with nexus 5 and, from my experience, battery was one of the issues.

thanks
[Moto G Android Development] celrau:
Not perfect, could be improved but not an issue.
[Moto G Android Development] PiggZ:
Success with the camera.

Its not a 100% perfect ... it doesnt work the first time after a bootup, but works fine after that. Building a new image soon.
[Moto G Android Development] PiggZ:
Added PGZ9 as a new version, should have working camera, please test. Camera doesnt work first try after boot, so wait a few seconds, close it, and open it again.

If signal strength is not shown, log in as root and do

systemctl restart ofono
[Moto G Android Development] NoObik:
Yay... Please update OP with new image so se can Test :)
[Moto G Android Development] phatin:
I Found the new image http://images.devaamo.fi/sfa/falcon/sailfishos-falcon-release-2.0.1.7-pgz9.zip

I'll test it when i get the time.

EDIT: It seams like it isn't booting for me... It's just stuck on the Motorola boot logo.
[Moto G Android Development] celrau:
same here, not booting.
[Moto G Android Development] celrau:
While I appreciate having a working camera on the phone (and this phone has a mediocre camera at best) the more important issue for me at least, is the device's quality as a phone. I can barely hear people talking and no way of adjusting the volume. Could you please look into this next?
[Moto G Android Development] PiggZ:
Ok, i know where that went wrong, working on a fix
[Moto G Android Development] kennylrmsailo:
I don't if I did it wrong. I flashed it but I got stuck in bootloop. I don't remember if I did it previously, but I usually wipe the cache, after flashing and before rebooting.
[Moto G Android Development] PiggZ:
Added version PGZ11 which ive actually tested! When I installed it, it booted fine into the first run wizard. Then, the camera didnt work so I rebooted and it stuck at the boot logo screen. I rebooted once more and everything worked fine. Camera works after second or third attempt after a reboot.

Ofono problem still occurs so the signal/provider isnt always displayed. Fix is to log in as root with

dev-su<enter>

<password>

systemctl restart ofono<enter>

Password is set from the developer options setting screen.
[Moto G Android Development] phatin:
Cool, I'll test it and report back...

EDIT: Every sensor worked on the device even the cameras. I just couldn't install apps on the jolla store because it gets stuck on waiting when I try to install an app. Otherwise It's perfect
[Moto G Android Development] PiggZ:
Temporary fix for video playback available!

Another dev has created a package to install which forces software decoding, instead of hardware decoding (which is the issue with the falcon and one+1)

Install the following rpm and enjoy video playback in the gallery, and youtube videos

https://github.com/ruedigergad/sail...0-libav_priority_override-1.4.5-2.armv7hl.rpm
[Moto G Android Development] NoObik:
Since we can't install apps from Jolla store is there another way to have an exchange email account on sailfishos?
[Moto G Android Development] celrau:
I couldn't get the camera to work. Restarted several times, launched the camera multiple times, same black screen. I'll wait for the next improved version.
[Moto G Android Development] xUntilOne:
Still reboots after half a min for me when using it as secondary ROM
[Moto G Android Development] Taraz_Unity:
Thanks, your work is awesome.. i'm using PGZ11, camera working, almost everything working...

but, i can't play my music and can't access data on my storage :(

but, it's awesome :good: :fingers-crossed:
[Moto G Android Development] Yogi wicahya:
Dual sim working?
[Moto G Android Development] celrau:
I figured out a way to replace the Music folder in /nemo with the one on sdcard (actually a symlink of that one) but I better hand the solution to the developer since it requires some scripts to be executed at boot and stuff. You can actually do that for the whole sdcard..
[Moto G Android Development] PiggZ:
send on any suggestions.

I was considering adding some ad-hoc scripts to to backup/restore to the sdcard, and adding an icon to restart ofono until it is fixed properly (some timing/race condition)
[Moto G Android Development] PiggZ:
Im going to say bluetooth works fine. I managed to get it paired with my car, another hands free kit, my pebble and a friends VW car.

Doesnt seem to support phone book access
[Moto G Android Development] :
Wow, some different from android with WiFi working! I am downloading it, thanks to the developer
[Moto G Android Development] Yogi wicahya:
Can instal android app?
[Moto G Android Development] :
I have tested this OS, the UI is totally different from android, the Sailfish application do not compete with android applicati on (the dialer, browser...), the camera app doesn't work. So the UI not is for me, I am back to CM11 holo UI.
[Moto G Android Development] celrau:
Just curious, any reason why this rom would not work on the LTE model?
[Moto G Android Development] PiggZ:
I dont know what the differences are, and cant test. It might work, it might not, depends if the android builds are the same.
[Moto G Android Development] PiggZ:
Nope, not yet anyway.
[Moto G Android Development] PiggZ:
Added version PGZ13. Changelog on the first post.

Note, because of the storage link changes, you have to have a 'Camera' folder in the DCIM folder, otherwise images wont be saved. It might not be a general issue, but I had to add it.
[Moto G Android Development] blatecktonik:
Amazing work bro, i find on youtube a vídeo for ussing apptoide market and install .apk be possible con sailfish OS for motoG ??

Thanks

Grettings from Mexico!!

PiggZ Rules!!

[YOUTUBE]https://youtu.be/9n9wpfFlzLg[/YOUTUBE]
[Moto G Android Development] PiggZ:
No. .apk files are not supported yet .... there are various efforts to enable it but none are ready atm. As soon as they are i will be trying to integrate them.
[Moto G Android Development] grepped:
Awesome. Found some issues

Thanks [MENTION=455718]PiggZ[/MENTION] I am using it since yesterday. I haven't found any Major(crashes, reboots) issues.

Could you please give your inputs on these issues?

1. SSH not working. Getting error "No route to host". I could ping the phone. [Edit: After reboot, it gave username and password prompt. However, even for valid username/password, it says "permission denied".

2. Whats wrong with pkcon - First it wasn't working. Then I tried ssu r -Even for correct credentials it says 'host authentication required'.

3. Do we need create new account for every new flash. I tried using old account during initial setup. It gave error -"IMEI number etc.'
[Moto G Android Development] PiggZ:
1. I use ssh all the time while developing so it should work. Have you turned on developer usb mode? You can also telnet in at the moment on 192.168.2.15:2323, direct root access ftw!

2. pkcon refresh should get everything up to date if some packages are not found.

3. Same as 1, cant use jolla account afaik so skip. Backup/restore should go to /sdcard and be retained between flashes from now on, so you can restore accounts/settings but not installed apps that way.

Cheers for using
[Moto G Android Development] grepped:
Ok [MENTION=455718]PiggZ[/MENTION]. Regarding 2 and 3 : do you mean, you don't have sign in to Jolla account? I thought to use pkmon its must.
[Moto G Android Development] celrau:
1. ssh works for me (ssh nemo@192.168.1.2), don't forget to set a password in Developer mode. Also after flashing a new rom I must delete .ssh folder (I'm on Linux but should be the same on at least OSX) so that the system can create a new known_hosts file with the credentials.

2. Don't create account with Jolla, skip that since you couldn't use it. I do first ssu updaterepos and pkcon refresh after and all works well with pkcon and the Warehouse application on the phone.

In case it's not known, you don't have to go through the tutorial after every fresh flash, when you get to where it says Start just touch the 4 screen corners clockwise from top-left and you're in.
[Moto G Android Development] PiggZ:
I dont use a jolla account and use pkcon just fine.
[Moto G Android Development] PiggZ:
Oh, thanks, its really annoying doing the tutorial every time i flash, i didnt know that!
[Moto G Android Development] grepped:
[MENTION=5188609]celrau[/MENTION]. I tried, it works. Thanks a lot.
[Moto G Android Development] PiggZ:
Added version PGZ14 with MTP support and minor fixes to errors reported in logcat for ACDB.

Please test, to use MTP, set the USB mode to 'PC Connection'. If it doenst work, I may have to update buteo-mtp but id rather not have to do that.
[Moto G Android Development] celrau:
MTP works perfectly for me, good job. So does the camera, it started right up. For 'adb devices' to show the device name one must choose 'diag_mode', shouldn't that be 'developer mode'?
[Moto G Android Development] PiggZ:
Not sure about adb tbh ... i cant see adb being much use as its not android anyway. How do you find then new game and file manager? :)
[Moto G Android Development] celrau:
Man, games and me not good friends so I can't tell :) but I just looked at the file manager and it's really good, lots of features. If I want more efficiency/better visibility I install Midnight commander on the device and access it via ssh from the computer.
[Moto G Android Development] GpatGt:
Really nice

is a reali good flash great work, but there are some bugs like the fact that when you instal facebook it dosent show the stories and other apps have similar problems
[Moto G Android Development] NoObik:
Dont think its an issue with the ROM itself... Remember that the apps you install from warehouse aren't official and properly QA'd ... :/

Anyone has an idea of when we might get Jolla harbour (store) support?
[Moto G Android Development] aniketxT1033:
Multirom v33 boot with Sailfish & ID6

Hey guys dual boot is working with this and Identity crisis 6 v1.2

No issues found on dual boot. It took around 2.2 or 2GB for sailfish on cm12 overwritten, where as i was left 12.5GB free after Identity crisis installation.

I'm on pgz13. Also, camera seems to work in capture as well as video mode but unable to save captured photos or videos.

Anyone facing the same?

I'm updating to pgz14 right away, will let you know any more issue.
[Moto G Android Development] PiggZ:
The saving of images will be because of the way i changed where they are saved. There is a startup service which creates links in /home/nemo to places in /sdcard (/data/media/0) In android, make sure there is a folder for DCIM/Camera as the link is created as /data/media/0/DCIM/Camera -> /home/nemo/Pictures , but i dont check for existence of the folder first. I'll fix this in a later build.
[Moto G Android Development] celrau:
Fix for video recording is to symlink /system/etc/media_codecs_ffmpeg.xml to /etc/media_codecs_ffmpeg.xml (pggz14).
[Moto G Android Development] sub77:
hi, can i add you to hangout/telegram/irc - having some questions about building with mersdk. thanks.
[Moto G Android Development] PiggZ:
sure, #sailfishos-porters on freenode or piggz1 on hangouts
[Moto G Android Development] grepped:
[MENTION=455718]PiggZ[/MENTION], [MENTION=2460523]celarau[/MENTION]

I could increase the system volume by -

#pkcon install alsa-utils

then

>amixer -D pulse sset Master 100%
[Moto G Android Development] abieJaz:
If anyone can help me I flashed cm12.1 the best build available from cm downloads then I flashed the sailfish os xxx14 .. Then rebooted ..

AM stuck at boot logo ?? Any help ? Can lock the screen when it get dim ..
[Moto G Android Development] abieJaz:
Finally it booted up after 3-4 reboots .. If u r facing stuck at boot logo try locking the phone . if it works then press power button for 10 secs and reboot 3-4 times .. ROM should work
[Moto G Android Development] PiggZ:
https://www.youtube.com/watch?v=6UrvYouj1HU
[Moto G Android Development] PiggZ:
Yes, the boot isnt completely without race conditions .... you should be able to telnet into the device over USB on 192.168.2.15:2323 and run /usr/bin/droid/lipstick-hack.sh to fix the gui if it ever doesnt work
[Moto G Android Development] rootuser_rachit:
Unable to boot

I have converted my xt1033 to xt1032 gpe and have TWRP 3.0

I have flashed CM12.1 ROM and over it i have flashed PGZ14 version of this rom...

It flashed successfully but it does not boot ...

It stays in the " bootloader unlocked " screen no boot animation nothing... It just stops there...

Any solutions? :confused:
[Moto G Android Development] Valbon:
Waouh ! You use a new version or we can try ? :D
[Moto G Android Development] PiggZ:
you could try rebooting it a few times .... it can happen (only happened once to me)

If not, conect via USB and telnet into the phone on 192.168.2.15:2323 and run /usr/bin/droid/lipstick-hack.sh and see if that helps

You can also run journalctl to get the logs and that might give a clue
[Moto G Android Development] namithubot:
How to telnet

As the adb is not working. No device recognized!
[Moto G Android Development] PiggZ:
Open a command prompt and type

telnet 192.168.2.15 2323

providing that it has created a network device for you. In Linux it works fine, not sure what drivers would be needed for windows.
[Moto G Android Development] luteriace:
it works with CM 13 marshmallow?? Great Rom
[Moto G Android Development] anvesh583:
Cool stuff, plz explain in detail ,how u acheived that !TY
[Moto G Android Development] anvesh583:
[MENTION=455718]PiggZ[/MENTION] Someone posted the ALIEN DALVIK file which gets successfully installed on Redmi 1s. The link for the file is https://drive.google.com/file/d/0B3GlHk4fOYmSMC1KQkNqNjgyOWc/view

Plz can u modify the file to make it suitable to install on Moto g? Thank you:)

XDA Thread :http://xdaforums.com/showpost.php?p=65611230&postcount=80
[Moto G Android Development] elfio:
[MENTION=455718]PiggZ[/MENTION] last release is great!

I'm having a couple of issues:

- I've created folders for symbolic links and camera saves pics ok but gallery doesn't show them, any idea why?

- Also I cannot make caldav work (cardav works ok). On 4th release it worked like a charm but now I only can see the calendar's names and no appointment at all.

Thank you!
[Moto G Android Development] celrau:
The symbolic links don't work for me either all the time but a reboot fixes it. Strange because the script creating them is straight forward.
[Moto G Android Development] elfio:
Camera cannot save videos. It seems it can be recorded but when the video ends the app freeze.
[Moto G Android Development] elfio:
I cannot find the post with this instructions. I still cannot record video once this symlink is created. Now camera just closes itself after one second of video. I'm going ro reboot and if this helps

Edit: It worked just fine.
[Moto G Android Development] PiggZ:
[MENTION=5188609]celrau[/MENTION] i am considering some changes to storage.service and wondered about your opinion.

I want to get rid of the symlinks for Pictures, Music and Movies and go back to the standard sailfish way of storing the files in the home dir. I would then create a symlink for /data/media/0 to /home/nemo/android_storage ... this gives access to the android files from within sailfish gallery and media app. Finally, i would create /data/media/0/storage and a symlink for .vault so that backups go to the internal storage area.

Ive tested the android_storage solution and it works because tracker, the indexing program which populates the gallery and media is coded to look in those locations.

Views?
[Moto G Android Development] celrau:
Well, there are 2 things to consider (and the reason I did the symlinks that way), being able to load music on the device from PC and download images/video to PC via MTP which links to Mass storage. Maybe do /data/media/0 > /home/nemo/android_storage and create symlinks from android_storage to Music, Pictures, etc. if it is more reliable that way.
[Moto G Android Development] PiggZ:
Well, loading from the PC and downloading images/video seems to work fine ... the MTP support gives access to the /home/nemo folder and the symlink for android_storage works as expected too .... i will post the script for you to try if you like
[Moto G Android Development] PiggZ:
#!/bin/bash

if getent group media_rw | grep &>/dev/null '\nemo\b'; then

echo true

else

usermod -a -G media_rw nemo

fi

#Fixup permissions

chmod 0777 /data

chmod 0777 /data/media

chmod 0777 /data/media/0

chmod 0777 /data/media/0/DCIM

chmod -R 0777 /data/media/0/Music

chmod -R 0777 /data/media/0/DCIM/Camera

#Create folder to store vault

mkdir /data/media/0/storage

#Create link to sdcard

ln -sfn /data/media/0 /home/nemo/android_storage

ln -sfn /data/media/0/storage /home/nemo/.vault

chown -R nemo /home/nemo/.vault
[Moto G Android Development] PiggZ:
The reason it works is because tracker is configured like this

org.freedesktop.Tracker.Miner.Files index-recursive-directories ['&DESKTOP', '&DOCUMENTS', '&DOWNLOAD', '&MUSIC', '&PICTURES', '&VIDEOS', '$HOME/android_storage/DCIM', '$HOME/android_storage/Download', '$HOME/android_storage/Pictures', '$HOME/android_storage/Podcasts', '$HOME/android_storage/Music']
[Moto G Android Development] celrau:
I'll try it and get back to you.

---------- Post added at 08:40 PM ---------- Previous post was at 07:41 PM ----------

Yes, it works as expected, glad you figured it out.
[Moto G Android Development] PiggZ:
Im not going to do a release just for this ... id like to fix up some other things like bluetooth to my car .... but, the change will basically be to replace load-storage.sh with that script above, and, i dont think unload-storage.sh will be needed at all.

Im also working on adding sfdroid, which has caused me to have to make a complete CM build!
[Moto G Android Development] celrau:
Yes, unload-storage.sh is not needed anymore. Good luck with sfdroid, that would kick ass. Let me know if you need testing.