yashsingh1/xdaforums huggingface dataset:
[Motorola Photon Q 4G LTE] reubenbrown13:
I just did an install using TWRP 3.0 and followed the instructions. Installed CM11, booted into it, rebooted to recovery, flashed Sailfish, and everything booted appropriately.
[Motorola Photon Q 4G LTE] ceteruler:
What phone are you using?

I tried using TWRP, but every version I've flashed so far (from 2.8.0 up) doesn't respond to touch, so I can't do anything. CWM at least lets me install ROMs.
[Motorola Photon Q 4G LTE] vevgeniev:
Great :) Can you make calls?
[Motorola Photon Q 4G LTE] reubenbrown13:
I don't have the phone active on Sprint's network, so I don't know.
[Motorola Photon Q 4G LTE] vevgeniev:
Most likely Photon Q
[Motorola Photon Q 4G LTE] santamanga:
Hi. Thanks for your port, it rocks!

Since I'm in Germany, my Photon Q has the sim-mod by cornholioGSM.

And the GSM mobile functions all work:

mobile networks 2G and 3G (auto-select)

mobile data

mobile calls

SMS

I didn't alter any settings regarding this, they worked right by default. Even the sim pin is querried after boot. (For people with a simmod and GSM not working: maybe you wiped after CM11? I didn't.)

Battery: after 8 hours phone in sleep mode (me too ;)) with no wifi or bluetooth, it only lost 4%.

Orientation workes sometimes (to me randomly and only once, maybe a systemd thing? However, it can be manually changed via "Components")

Vibration is hardly noticeable, and it's not "vibrating", just gives a light jerk once (eg for calls)

GPS works (download GPS Info from the warehouse) but not seamlessly

Mobile hotspot works (WPA2 dhcp)

Stock camera does not work (and Cameraplus force closes immediately with seg fault)

H/W keyboard works, also the extra keys, but cursor keys are wrong: forward/back corresponds to up/down and vice versa.

Sliding out the keyboard does not light it up.

Step 2 didn't do anything for me.

I created the rule as dev-su in the according directory, rebooted, but $systemctl --all | grep dev_name still shows nothing. Is there another way to get the unit's name?

Or could you please explain exactly what to do?

And also I'm really looking forward to future updates. This OS is amazingly swift and good on battery life.

:)
[Motorola Photon Q 4G LTE] santamanga:
Anyone else using this rom and being able to help me get the leds and camera working?
[Motorola Photon Q 4G LTE] vevgeniev:
Please try to restart the mce service and let me know if the LEDs work:

systemctl restart mce.service
[Motorola Photon Q 4G LTE] santamanga:
Yes, the LED works after restarting mce.service.

But it only lights up red when powering down, and not for notifications or charging.

And the keyboard is not backlit.
[Motorola Photon Q 4G LTE] vevgeniev:
For me all notifications work (green for new e-mails, etc.). I attached my LEDs patch. Please compare it with the changes that you made.

This issue is not fixed yet.

For the cameraplus crash, please make sure that the default properties (default.prop) have:

persist.camera.shutter.disable=1
[Motorola Photon Q 4G LTE] santamanga:
Thanks [MENTION=6433683]vevgeniev[/MENTION] for the patch. After extracting this and restarting the service, it works and also indicates notifications! :good:

But just for fun: I tried after reboot "systemctl --all | grep dev_name", it still doesn't show anything. And your udev-rule even has the same rights and identical md5sum.

The default.prop in / has "persist.camera.shutter.disable=1" but cameraplus still crashes.

Are you using v0.0.29-10.100.1.jolla or v0.0.29+master2014...-10.1.2 ?
[Motorola Photon Q 4G LTE] vevgeniev:
You are welcome :)

Are the LEDs working now after restarting the phone (without restarting the service)?

On my phone:

systemctl --all | grep led
sys-devices-i2c\x2d10-10\x2d0038-leds-keyboard\x2dbacklight.device loaded active plugged /sys/devices/i2c-10/10-0038/leds/keyboard-backlight

The installed version, I have is:

harbour-cameraplus-0.0.29+master.20150907185610.226.gaa6a8cd-10.176.1.jolla.armv7hl
[Motorola Photon Q 4G LTE] P3TR:
Thank you for your amazing work! Where did you get that version of cameraplus? I can only find the same build that santamanga uses, and it doesn't work for me either.
[Motorola Photon Q 4G LTE] vevgeniev:
Thank you :)

I don't remember, but please try this one:

http://repo.merproject.org/obs//hom...6211846.156.g98bf8ae-10.5.7.jolla.armv7hl.rpm
[Motorola Photon Q 4G LTE] santamanga:
Sorry, I wanted to answer earlier, but was too busy.

This version works! :)

Also the systemctl | grep shows the same output as yours, I just didn't know you meant led by device_name.
[Motorola Photon Q 4G LTE] vevgeniev:
Great :) I will include it (along with the LEDs patch) in the next release - Sailfish OS 2.0.1.7 Taalojärvi. I am waiting for the public release.
[Motorola Photon Q 4G LTE] santamanga:
Could you explain again, how to get access to the jolla store, since although I made the account, I'm refused for downloads. In the terminal I see my credentials are fine, but we are rejected.

And do you think it would be possible to include ne (nice editor) in your next release? It's so much easier for noobs (like me) to use, instead of vim.

http://ne.di.unimi.it/
[Motorola Photon Q 4G LTE] vevgeniev:
The store doesn't work for me either, but the instructions are:

I'll check.

Can you check if the hotspot works?
[Motorola Photon Q 4G LTE] santamanga:
Thanks.

Yes, hotspot works (wpa2).
[Motorola Photon Q 4G LTE] vevgeniev:
Here you are:

https://openrepos.net/content/vevgeniev/ne
[Motorola Photon Q 4G LTE] santamanga:
Very cool! Thanks a ton!

Installs and works! :)
[Motorola Photon Q 4G LTE] santamanga:
Hi again. I tried headphones. Plugin the headphone doesn´t mute the speaker and has no output. Is there something like aumix or any other Settings toggle to control that?
[Motorola Photon Q 4G LTE] vevgeniev:
It might be hw issue with your device. I tried using headphones both for a video played in the browser and from Gallery and it works as expected.
[Motorola Photon Q 4G LTE] santamanga:
Sorry, it was my ****ty headphones. :eek:
[Motorola Photon Q 4G LTE] vevgeniev:
That's fine :)
[Motorola Photon Q 4G LTE] santamanga:
Okay, after some two weeks of using this build: what is annoying is, that while talking on the phone, almost always the ear accidently will touch some buttons on the touchs, so it autodials the last caller from the log or does sth else stupid, like enabling hans-free mode. Is there an option to block the touchscreen during calls (- or is it the "nearby-sensor" not triggering anything yet)?

2nd) how can I change the keypad layout? ( ":" is mapped to ">" and I´d like to enable German Umlaute). Thanks.

edit:

okay, I found the map to copy to \system\usr\keychars\ , respectively to \system\usr\keylayout\ -- will try when at home and test result. :)

edit2:

how can I make sure, the new layout is being used? renamed the original, copied the modified one, but no change :/
[Motorola Photon Q 4G LTE] dakff:
no sim

Hi, I have too sim-mod from cornholioGSM. But my phone show me no sim card. What I made wrong?
[Motorola Photon Q 4G LTE] santamanga:
Maybe 1st reflash original firmware with RSDLite, boot it up, install twrp recovery, flash cm from 1st post, boot it up, make sure your sim is recognized, then flash Sailfish over cm.

For me it worked that way.
[Motorola Photon Q 4G LTE] vevgeniev:
It seems that the proximity sensor is disabled by default. I don't know why yet. There is a temporary solution though:

mcetool --set-ps-mode=enabled

Unfortunately I don't have an answer for your second question :( I would like to create hw layout for Bulgarian language, but don't know how to do that.
[Motorola Photon Q 4G LTE] santamanga:
Have a look inside keypad_8960.kl, that you find somewhere under /usr/ you could map a keystroke to your Bulgarian keys. But why it isn't used, or how it is selected to be used, I don't understand yet.

http://xdaforums.com/showthread.php?t=2223109&page=2
[Motorola Photon Q 4G LTE] vevgeniev:
Thanks, I'll check.

Also I am afraid that my previous answer wont help. There's some generic issue with sensors that prevents orientation and proximity from normal operation after the first time the display has been locked.
[Motorola Photon Q 4G LTE] dakff:
I reinstall my phone again and one different step from previous tests was boot to cm11, before I install Sailfish. Sim works now. Thx

Q: Jolla store is still disable for android phone or is it any reason for this message "Problems during device IMEI registration. Device IMEI was not saved."?
[Motorola Photon Q 4G LTE] santamanga:
I do not get this error message. But yes, we do not have access to the store yet. There are some instructions in this thread how to get access maybe. I also sent a pm to that mentioned user here on xda but did not get any answer. Maybe you have more luck elsewhere. But before the store, you can try harbour. There are usefull linux applications to download.
[Motorola Photon Q 4G LTE] vevgeniev:
Jolla Store is disabled by default for ported devices. In order to get access to it, you need to send your phone's IMEI to sledges. The issue is that Jolla Store is undergoing changes. They will process the IMEIs once the changes are complete. In the meantime, as [MENTION=4205274]santamanga[/MENTION] said, please use openrepos. There is a Sailfish OS client:

https://openrepos.net/content/basil/warehouse-sailfishos
[Motorola Photon Q 4G LTE] santamanga:
Did you mean the user sledges on xda? Because I sent him a pm without reply.
[Motorola Photon Q 4G LTE] vevgeniev:
I meant on IRC sailfishos-porters, but it's the same person, so it shouldn't matter. The instructions can be found on line 119 here:

http://piratepad.net/hadk-faq

Once SailfishOS 2.0.1.7 (Update 19) is released, I will build a new image and will try to setup OTA.
[Motorola Photon Q 4G LTE] vevgeniev:
I think that the reason for the error is that you created your Jolla account when your GSM module wasn't working. Now that you fixed, the IMEI number is different. Try creating new account.
[Motorola Photon Q 4G LTE] dakff:
Thanks for all your advice. All works fine for me now (GSM [call, sms], jolla store) But I cannot install harbour-warehouse now. System reports is libsailfishapp.so.1 missing. I tried zypper install libsailfishapp, but without success.
[Motorola Photon Q 4G LTE] vevgeniev:
On my phone it's a symbolic link to libsailfishapp.so.1.0.10:

/usr/lib/libsailfishapp.so.1 -> libsailfishapp.so.1.0.10

You can create the sym link, using:

ln -s /usr/lib/libsailfishapp.so.1.0.10 /usr/lib/libsailfishapp.so.1
[Motorola Photon Q 4G LTE] vevgeniev:
Update 2.0.1.11 (Taalojärvi) released. It's an initial release and doesn't support OTA and has the same issues as the previous release. I am working on OTA now.
[Motorola Photon Q 4G LTE] Armadill0:
That's awesome news! I'll try flashing my Q in the next days. It's currently disassembled while I'm doing the sim mod. :)
[Motorola Photon Q 4G LTE] elros34:
I have bought Photon Q specially for sailfish. Big thanks to you for this port.

Problem with missing libsailfishapp.so is fixed in 2.0.1.11 but be aware that link on vladislavonline.com for 2.0.1.11 (Taalojärvi) points to 2.0.0.10.

I cant install camera plus because of missing libpng15.so. Any solution?

Edit Disabling store, adaptation and home repos fixed it.
[Motorola Photon Q 4G LTE] jrk190:
Wait, you installed the photon recovery on the m?
[Motorola Photon Q 4G LTE] reubenbrown13:
I am not sure what you are asking there. I have a photon Q w/ the keyboard, and I installed the appropriate TWRP recovery for it, the one I linked to in my OP.
[Motorola Photon Q 4G LTE] jrk190:
Oh, never mind.
[Motorola Photon Q 4G LTE] elros34:
I have created little program which lock rotation to landscape (needs landscape patches from openrepos) when keyboard is open, add shift key led support and "fix" global auto rotation issue.

https://1drv.ms/u/s!AuDqiTFly4jxgnLgTckXmzq-3Uot

From my observations: "Bleeding edge sd-utils" from openrepos fix problem with automatic sd card mounting.

There is also new version of hammerhead torch application with photon q support.
[Motorola Photon Q 4G LTE] santamanga:
Thanks a lot elros34,

I haven´t tried your program, but I noticed: auto-rotation works, e.g. when browsing websites or hacking in a text message, when ---

when you open the camera application, leave it open and start a new instance of e.g. the browser from the app slide-up. Then even though you are in the webbrowser, it will still notice which way one holds the mobile.

Auto-rotation stops again, when the display turns off.

So maybe that experience could be the base of a patch. :)
[Motorola Photon Q 4G LTE] elros34:
I know rotation works in few applications (rest need patches) but this is not about it. It's workaround to lock rotation to landscape when you have open keyboard regardless device orientation (like in n900). I have uploaded 0.0.2 version with fixed keyboard backlight.

Additionally if you run it with root rights it will restart sensorfwd on unlock event. It fix auto rotation but not permanent.
[Motorola Photon Q 4G LTE] santamanga:
Yes, I understood it´s a workaround triggered by the keyboard slider.
[Motorola Photon Q 4G LTE] elros34:
Sorry, sharing folders in onedrive is riddle for me. Hope it works now.
[Motorola Photon Q 4G LTE] santamanga:
Yes it does. Thank you!
[Motorola Photon Q 4G LTE] danfeng:
I tried your rom on my xt907

can't boot ,here are the /proc/last_mesg log file,

tried two times, so I got two log file

View attachment 1.txt

View attachment 2.txt
[Motorola Photon Q 4G LTE] santamanga:
There are still some problems, for example with the camplus app: you can´t record Videos, it force crashes.

Also, it would be great if the whatsapp substitue worked. I know, both got nothing to do with the Rom.
[Motorola Photon Q 4G LTE] elros34:
Check talk.maemo.org . I don't know how it looks now but there were at least 2 whatsapp clients for saiflish in past.

I was able to fix wrong hardware cursors behavior.

https://github.com/elros34/Photon-Q-keyboard-layout-for-Sailfish

There is still problems with lack of sticky Shift key and I have no idea how to remap OK(KEY_REPLY) key to Ctrl (to gain ctrl+c/v/x). Any suggestions are welcome.

I have added shift key led support (need root) to photonq-helper.
[Motorola Photon Q 4G LTE] santamanga:
they stopped working. or never did work propperly in the 1st place: trying to connect without stable success.

wish we had android dalvik on our phones.

About your re-mapping: I tried to use different maps, but it seems they never were in use, no matter how i named or where i copied them. i got frustrated over it, but will look into it soonish again.
[Motorola Photon Q 4G LTE] moxx1506:
Great work! Flashing the mod worked well, but I still got problems with the store. I will try and contact sledges with my UUID.
[Motorola Photon Q 4G LTE] elros34:
Finally I figured out all this keyboard layouts on Sailfish. It's based on xkeyboard instead boston/droid.qmap like suggested by many. Unfortunately I couldn't map OK key to anything so I make caps lock key as control until some good soul make changes in kernel :). Only for Polish layout but you can use this as a reference (its basically one line). Correct cursor keys mapping should be applied to all layouts.

ngfd -v -v -v -v shows: unable to load plugin ffmemless. I suspect this is the reason of incorrect vibrations and inability to change patterns in /usr/share/ngfd/

vevgeniev, any chance for ffmemless kernel driver?

The good news is Angry Birds works good with apkenv ;)
[Motorola Photon Q 4G LTE] mp107:
Where can I download 2.0.1.11 Taalojärvi version?

As described here the link on the author's website still leads to 2.0.1.10 Saimaa.

EDIT: Finally found.

http://www.vladislavonline.com/data...oto_msm8960_jbbl-2.0.1.11-vladislavonline.zip
[Motorola Photon Q 4G LTE] maksimherts:
Good afternoon.

Tell, the screen switches to landscape mode when you open the keyboard? And slyyshal that there is a problem with the definition of a SIM card, the phone can not see it - as it is solved with the firmware?
[Motorola Photon Q 4G LTE] elros34:
Yes, but you need some modifications:

- latest photonq-helper (to fix global system orientation issue, shift LED)

- various fixes from github.com/elros34/Photon-Q-various-fixes (correct cursor keys, keyboard backlight)

- bunch of patches from open repos to support landscape orientation in jolla apps (use warehouse)

In regard to SIM. Make sure that it works in android then it will work in sailfish (at least GSM).
[Motorola Photon Q 4G LTE] moxx1506:
For me it worked to start CM11 once after flashing and then flash Sailfish OS.

I experienced some problems downloading packages from repositories. Many packages from openwarehouse had unmet dependencies.

$ ssu ur
$ pkcon refresh

Finally results in

Authentication failed (is SSU set up correctly?)

The solution was to disable some jolla repository which have restricted access:

$ ssu dr adaptation0
$ ssu dr home
$ ssu dr store
$ ssu ur
$ pkcon refresh

Now I could instal cameraplus and syncevolution, for example.

//EDIT: I want to share my owncloud-syncevolution experience with you:

The instructions from (i'm not allowed to post links yet) did not work for me

a) My self-generated certificate is not being trusted

b) Leaving SyncURL blank and putting the URL in contacts/calendar db leads to a QtContacts error

Here my approach for Sailfish OS 2.0.1.11:

If your certificate is not trusted, download it to a folder and run as root in that folder:

# pkcon install openssl
# openssl x509 -in mycert.crt -out mycert.pem -outform PEM
# cp mycert.pem /etc/pki/ca-trust/source/anchors/
# update-ca-trust

You need to create two syncevolution accounts: One for contacts, one for the calender. Both with the WebDAV template. Leave all DB entries blank. The two SyncURL should be the following:

Contacts: h-ttps://-HOSTNAME-/owncloud/remote.php/carddav

Calendar: h-ttps://-HOSTNAME-/owncloud/remote.php/caldav/calendars/-USERNAME-/defaultcalendar

Disable Contacts Sync at the Calendars account and vice-versa
[Motorola Photon Q 4G LTE] nailfrompg:
Well, GSM began work after changing FS of cache from f2fs to ext4 and reflashing cm.
[Motorola Photon Q 4G LTE] vevgeniev:
Update 2.0.2.48 (Aurajoki)

Hello,

I just built update 2.0.2.48 (Aurajoki). It can be downloaded from my blog.

I am sorry that I've been unresponsive recently, but I've been very busy and have hardly any free time at all.

Thanks,

Vladislav
[Motorola Photon Q 4G LTE] elros34:
Thanks for update vevgeniev! I hope you will find time in the future to improve port.

Be aware backups from 2.0.1.11 doesn't works (at least for me) on 2.0.2.48 but I found script which convert old backups to new format.
[Motorola Photon Q 4G LTE] nailfrompg:
Detected bugs

List of bugs that I found after 2 weeks of use:

MTP mode does not work (at least in Linux), in the "Always Ask" mode it mounts almost all partitions in the flash storage mode;

The LED does not light when charging;

UI freezes when the screen turned on after opening the keyboard, or the opening of the keyboard when the screen is off;

It don't determines the memory card with the following FS: fat32 (formatted in Windows), ntfs; determined FS: fat16, ext2, ext3, ext4 (but not mounts ext4: metadata_csum), fat32 (formatted in linux)

Memory card and internal memory (/data/media) doesn't mounted automatically;

Camera Button does not making pictures;

When the battery is low (0%) it does not see the charging and not charging (possible individual glitch);

The proximity sensor is not working;

Standard browser crashes after playing the video and returning to another page (at least in YouTube);

Screenshots contains only black image;

Video recording does not work (at least in Cameraplus).

Fixable bugs:

Wi-Fi does not turns on after a reboot of the Sailfish - fixes after turning off and on the device;

Orientation changes, but before the first lock screen - fixes after installation photon q helper;

The keyboard backlight is not working - fixes after installing the patch;

No word prediction - fixes after inserting command devel-su pkcon install jolla-xt9 jolla-xt9-cp in terminal

Stock camera app does not work (black image) - fixes after installation of Cameraplus.
[Motorola Photon Q 4G LTE] klinglerware:
Hello Vladislav (and elros34),

Thank you again for creating and maintaining this adaptation. As a former maemo/meego user, I was waiting for a Sailfish adaptation on a device like the Photon Q. I have been using it for several months now on a SIM-modded device and am quite enjoying the experience.

I'll try not rehash the bugs/observations others have already reported, but I do have the following comments:

- Mobile Network APN settings do not survive a reboot

- Creating a new Jolla account does solve the IMEI registration error. I could enter the Jolla store, but since the store is not yet officially opened to this port, I could only see a few applications and could not install any

- I have an issue where the device does not wake up from sleep. This happens at least once a day. I don't think it is a case of the device powered off, since the LED notification lights are still active and performing a soft reset (power + vol-) will turn the device off. I am still not completely certain that it is not an issue with my individual device., but I am close to confirming that there is no problem when using the base Cyanogenmod rom. I am curious if other users have this problem.

- I am interested in donating to the both of you, as a token of my appreciation for your work

- I would love to see a port of SFdroid. I suspect that it would be too resource heavy for the Photon Q?

Thanks! It works well, I think it is close to usable for daily use!
[Motorola Photon Q 4G LTE] Rtuz2th:
Droid 4

Hi,

first of all thanks for your great work. Always happy to see that there are still QWERTY-enthusiasts out there. I'm totally new here, did anybody try to use this rom on the droid 4? Are there major hardware/mainboard differences I have to consider?

best regards, rtuz2th
[Motorola Photon Q 4G LTE] elros34:
I would suggest to enable developer mode and for now use FileZilla or similar application.

Did you tried Bleeding edge sd-utils?

I think the problem is that cameraplus doesn't support KEY_CAMERA.

My phone turning off when battery have 2-3%. You can try Btry or battery-monitor.

devel-su

systemctl restart sensorfwd

It works for a while.

You can try highly experimental (dangerous) modified lipstick rpm/source.

I guess the core of issue is audio recording.

Try to copy this to /lib/systemd/system/ then

devel-su

systemctl enable wifi-enable.service

devel-su

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

I didn't tested it.

I have never experienced this. Maybe connect photon to pc and try to get logs as described by vevgeniev.
[Motorola Photon Q 4G LTE] moodroid:
Hi,

I'd like to know if there's any chance this would work on the Droid 4 too? I'm happy to try it and see what happens, but would prefer not to if there's no chance it'll work, just in case I ruin my Droid 4!

Many thanks
[Motorola Photon Q 4G LTE] elros34:
It's hard to tell and maybe it's totally unrelated and problem is somewhere else. If you have some unexpected reboots lately then please disable service and give me feedback:

devel-su

systemctl disable wifi-enable.service

rm /lib/systemd/system/wifi-enable.service

I can confirm my previous suspicion, disabling audio allows 720p video recording in cameraplus.
[Motorola Photon Q 4G LTE] nailfrompg:
I had no reboots after installing the patch "Photon-Q-various-fixes" (September 18). Wi-fi works after reboots, sd-card is working. ALT key works. Thanks!

New problem: the CTRL key only works in the Polish layout. When I modified the Russian layout, I copied rows from the Polish layout, but the effect is not brought.

Another question: Is it possible to configure switching of layouts on a combination of keys (for example, ctrl + space bar) or by pressing the "OK" button?
[Motorola Photon Q 4G LTE] elros34:
For ctrl key as a capslock you need:

include "capslock(ctrl_modifier)"

or better swap key codes (control and capslock) in evdev file.

I guess xkb should have some method of switching layouts if not I could add it to helper.