yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] carepack:
Hi [MENTION=4565663]Daycrawler[/MENTION],

UMS = USB Mass Storage ;). Not working atm :(. But let me explain the options you have:

1: ssh + scp combo (windows[putty] & linux)

This combo is a set of linux standard tools. You can connect to the phone via secure socket shell from you're pc and transfer files to you're phone and vice versa.

2. sftp + filezilla (windows & linux)

You can access the files via filezilla. It's available for windows & linux. You can transfer files like you're doin with an ftp server.

3. Gnome Desktop Environment

The gnome filemanager nautilus has an build in option for accessing sftp / ssh servers or devices easily.

To connect via this methods, enable developer mode, set a new password and take a look what ip you've get. Behind the wlan symbol. Then choose one of the above methods:

username = nemo

username root = devel-su

password = the one you entered in developer mode section

[ssh]= ssh nemo@device_ip

[filezilla] = sftp://device_ip

[nautilus] = select: connect to server (on the left side) and enter: ssh://device_ip

If you have more questions or need advice feel free to ask ;)

As long as we can ;)
[Nexus 4 Android Development] carepack:
Hope too. Let us see what comes next ;)
[Nexus 4 Android Development] suarez1907:
Developer mode does not work
[Nexus 4 Android Development] carepack:
Hi,

I have sailfish on my mako and the developer mode is working fine. To solve you're problem further informations would help a lot. Is sailfish you're primary rom or you're using multirom? What doesn't work? Enabling dev mode? Or connect via ssh?

Somebody else had to confirm if dev mode is working with multirom or not. Or try to reflash sailfish again and have right modem firmware / baseband ;)

ahoi
[Nexus 4 Android Development] suarez1907:
Sailfish is my second rom with multirom.i cant enable developer mode.i am on 0.84 modem
[Nexus 4 Android Development] woernsn:
Dev options and ssh worked for me :)

(Jolla as secondary rom with 0.84 radio)
[Nexus 4 Android Development] carepack:
thanks [MENTION=2147084]woernsn[/MENTION],

so it have to be a problem on you're device or installation. Try to reinstall.

ahoi
[Nexus 4 Android Development] deshmukhrb2000:
SailFish Update 10 is released............
[Nexus 4 Android Development] carepack:
Yup, the update is out. Another great release of the sailfish os ;)
[Nexus 4 Android Development] suarez1907:
Hello carepack. Will you compile rom with sailfish update 10?
[Nexus 4 Android Development] deshmukhrb2000:
I do not think,as there was some problem in the Update 10 for sailFish.

But now they have released small update for the issues reported for update 10, so need to wait for some time to the review and stability of that version.

But [MENTION=2977728]carepack[/MENTION], we hope u will come up with update 10 for Nexus 4 in the coming days.

By the way thanks for the ROM Awesome...........
[Nexus 4 Android Development] carepack:
I'll try :)

Thanks to who found a bug about no devixelock and not able to allow untrusted software , here's a quick remedy:

ssh/terminal:

devel-su

(your password)

pkcon install jolla-devicelock-plugin-encsfa

enjoy your weekend with Sailfish OS!
[Nexus 4 Android Development] syedyasin:
how is call volume ? it used to be very low? still the same??
[Nexus 4 Android Development] carepack:
I would recommend to test. Because it depends on youre needs. For me it's quite right ;)

ahoi
[Nexus 4 Android Development] jcbjoe:
Volume issues

[MENTION=2977728]carepack[/MENTION] .. I'm having the same Volume issue in SailfishOS 1.1.0.39 (UItukka) ..

It dosen't matter in regular volume or speaker volume .. When i'm talking to people i'm basically screaming to people cause i can't hear them cause the volume is so low .. i have reinstalled also or do a clean reinstall ..

I'm waiting for an update.. or i'm going to wait till i get a real jolla till this is fixed i look funny screaming at my nexus4 cause people can't hear my cause of the volume .. Any fix or any tweaks that i can do ?

Thanks
[Nexus 4 Android Development] radbme:
Deleting the file worked perfectly to enable proximity sensor during calls.
[Nexus 4 Android Development] radbme:
I have a problem. I can't get it to turn off! It just reboots. Booting into TWRP and choosing power off also reboots the n4. Anyone else?
[Nexus 4 Android Development] deshmukhrb2000:
How to update, if i am on gamma 4 release?

As i tried from Developer option, Sailfish Update, it says it is up to Date.
[Nexus 4 Android Development] rinigus:
Its the latest release for N4. When the new one will be available, I guess you should use "WIP Over-the-Air updates (OTA)" from Adaptations notes (see the first post).
[Nexus 4 Android Development] rinigus:
I stumbled on rather odd bug leading to the wrong battery reading. In Multirom, when booting from primary Android (Chroma 6) to SFOS (gamma4), battery went from 35% (android) to 2% (SFOS). At 2%, SFOS basically said that the battery is too low and shut down the phone. Without charging, I booted primary Android again and got 25%. I waited ~1 hour and booted into SFOS again. This time transition was as expected ~20% (android) -> ~20% (SFOS).

Is it a bug in SFOS? Or is it possible to calibrate the battery somehow?
[Nexus 4 Android Development] radbme:
I did eventually get the phone to stay off though it wasn't anything I did. I just tapped the shutdown button and it decided not to reboot the last time. Weird.
[Nexus 4 Android Development] rinigus:
While running SFOS as a daily driver, I started getting complains on the quality of the call sound. While I can here the other side perfectly, it turns out that others hear me not so well. As a feedback, I've got: 'as if you're speaking in a big room'; 'speaking next to metal objects'; 'maybe you should get a new phone'; 'not clear, please repeat'. When asked specifically regarding my voice in a call, I was told that while volume is fine the clarity has been diminished. When talking using Android ROM on the same phone, the voice is supposed to be clear and there are no complaints. In addition, it seems that while I speak during a phone call, the background sounds from the other party in my speaker get lowered (you don't here at that time well what's going on the other side).

Has anyone else noticed the problems with sound during a call? Maybe its related to the problems with sound recording in some apps, as reported earlier by others.
[Nexus 4 Android Development] CBpbxEcmecmBeH:
It's another device, but this might help... it doesn't hurt if you try [emoji3]
[Nexus 4 Android Development] rinigus:
Thank you for your suggestion! However, in N4 port, we don't have

/system/etc/acdbdata

/system/etc/audio_platform_info.xml

So, can't apply this fix. In addition, I guess that SFOS sound system should load the drivers from /system/etc if needed...

---------- Post added at 12:08 PM ---------- Previous post was at 11:52 AM ----------

Related to audio: in journal file, I have seen messages like these:

Mar 08 20:20:36 Jolla pulseaudio[1257]: input set_parameters(routing=262144) failed

Mar 08 20:20:36 Jolla pulseaudio[1257]: failed to set source 'source.primary' port to 'input-builtin_mic'

Mar 08 20:20:36 Jolla pulseaudio[1257]: can't set profiles/ports to source microphone

Mar 08 20:20:36 Jolla pulseaudio[1257]: can't set volume limit: don't know group 'btnotify'

Mar 08 20:20:36 Jolla pulseaudio[1257]: can't set volume limit: don't know group 'aliencall'

I wounder, if it cannot find 'input-builtin_mic' , then which microphone is used?
[Nexus 4 Android Development] klamper:
Help!

i flashed cm11 snapshot and then flashed the sailfish gamma4.

wifi,bt, etc works but i cant play any mp3 files and none of my pics and videos are showing in gallery

and media shows no songs.
[Nexus 4 Android Development] Kubino:
Try modem 1.07
[Nexus 4 Android Development] rinigus:
I did, as well as .97 and .84. Voice is still disturbed.

Has anyone compared voice quality in android vs sfos on n4, using multirom?
[Nexus 4 Android Development] radbme:
I'm on 1.02 and didn't have call quality complaints. That's the radio that comes with aosp 4.4.4.
[Nexus 4 Android Development] grabber5.0:
This is a really nice build. Need to install the Android card package still.. My mic is flaky on its own so I haven't done any call quality tests. Only real problem I have is I can't send MMS on ST.
[Nexus 4 Android Development] rinigus:
Assuming that you're on multirom: to get your files, check out the first post in Q&A section of this thread, FAQ 16. If some codecs are missing, you would have to install gstreamer1.0-libav or something similar (FAQ 3). Note that I haven't done it myself - use at your own risk. Good luck!
[Nexus 4 Android Development] klamper:
Hey thanks for your reply !

I used sailfish as my primary ROM and did not use multi rom.

I tried to install the codecs but wasn't able to install it ( kept saying unable to install) tried to install with terminal (rpm -I filename , zypper etc) but wasn't able to install the codecs tried the ucs codec but wasn't able to install .

I installed the gst fluendo mp3 codec as the FAQ said but still coudnt play mp3 files only the ogg ringtones played

Sorry if I'm being a noob or doing something wrong but any helps appreciated

Thank you !
[Nexus 4 Android Development] rinigus:
did you try like this in terminal (after enabling developer mode and setting up the password):

devel-su

pkcon install gstreamer1.0-libav

what was the error?
[Nexus 4 Android Development] klamper:
Yes i tried it .

Kept saying the file doesn't not exist I used # CD /home/nemo/downloads

And had the gstreamer file in the downloads folder
[Nexus 4 Android Development] rinigus:
OK, since I am not using RPMs in my Linux, I am guessing. You don't have to download the file yourself, that's what pkcon is for. Maybe you haven't updated the list of available packages. Run

pkcon refresh

After that, run pkcon install command for gstreamer av. If that fails, you could install RPM manually using "rpm -i RPMFILE" syntax, but I'd suggest to fix pkcon works.
[Nexus 4 Android Development] klamper:
Hmmmm I'll give it a try I've installed DU for now I'll try the sailfish in multirom and let u know ..

So I have to first

Devel-su

Password

Pkcon refresh

Rpm -I filename

?
[Nexus 4 Android Development] rinigus:
devel-su (give the password when asked, you'll be root after that)

pkcon refresh

pkcon install gstreamer1.0-libav
[Nexus 4 Android Development] klamper:
OKii thanks !
[Nexus 4 Android Development] kidownzus:
Confusion

OK. So I'm new to using sailfish OS. I like the UI. But I have some questions.

I can't seem to find Android Support on Jolla Store. I've read about SFdroid. Can someone please inform me on the correct way to install sailfish.

And explain to me in detail if I need android support. Or if I just need to flash SFDroid. I could really use some information. If you want to please respond on this thread or via email. Kid.for.life@gmail.com

As for the ROM itself. It looks fantastic. I just rely on a ton of android apps, and would like to be able to use them with Sailfish. Please help!!!
[Nexus 4 Android Development] vetzki:
try this https://wiki.merproject.org/wiki/Ad...OS_for_mako#Android-in-a-Window_.28sfdroid.29
[Nexus 4 Android Development] kidownzus:
Can't install sfdroid zip

I'm using multi ROM 3.0.0-0

It won't let me select sfdroid zip for cm11.

When o reboot into recovery it won't let me access my files to select the proper onem it just viberates when I click on install zip. Does anyone have any ideas? I would like this ROM a lot if I could use android apps. Any ideas???
[Nexus 4 Android Development] fishears:
You'll need to flash the previous version of multirom twrp. It's the one dated 30/06/15

EDIT: here's the link

https://s.basketbuild.com/filedl/de...multirom/mako/TWRP_multirom_mako_20150630.img
[Nexus 4 Android Development] kidownzus:
Cm11 says no sim.

Everytime I asks a question on here. I get a quick reply, and you help fix my issues. Good job XDA community!!! Hopefully this will be the last time I post on this thread asking for help, and maybe I can be a helping hand to others.

I have SFdroid installed now. It is telling me that I have no sim on cyanogen mod 11.

I have tried modems 0.97 0.48 and 0.84. Someone please help me finish this quest I am on. Thank you all!!! Also, can I use a hybrid modem so my main ROM has LTE capabilities, although I still haven't gotten LTE to work on my nexus 4 ATT. Lol
[Nexus 4 Android Development] mdjishadk:
So far as I know, gps,messaging and calling won't work in sfdroid, at least until now. Data works though :)
[Nexus 4 Android Development] sledges:
You're very correct ;)

https://wiki.merproject.org/wiki/Adaptations/libhybris/sfdroid

(you can find that link from "For project status, bugs, and changelog click here. " in https://wiki.merproject.org/wiki/Ad...OS_for_mako#Android-in-a-Window_.28sfdroid.29)
[Nexus 4 Android Development] kidownzus:
im an idiot

lmao. i kept trying to add an account. instead of hitting skip. The lag im facing on sailfish now is undeal. iy takes like a second for it to register what im typing in browser. any ideas on making it run smoother?

---------- Post added at 12:37 PM ---------- Previous post was at 12:27 PM ----------

Is there a way to flash gapps, or am I just being greedy? Not trying to blow this thread up more then I already have, but I have so many questions that need answers!!! You all have been very kind;). I really do appreciate it. Good job developer/ERS. Lol

Does the storage space reflect on the virtual device? Is there a way to Mount Internal Storage on FSdroid?
[Nexus 4 Android Development] rinigus:
Re gapps: you just flash gapps as on regular android ROM. If in multirom, choose sfos under advanced/multirom/list ROMs and then flash gapps zip. I use open gapps Pico (I guess that there is no point in asking too many gapps to system part of ROM).

Some lag is expected, so better use and develop sfos apps, if possible.

Storage: don't know

---------- Post added at 15:06 ---------- Previous post was at 14:58 ----------

Thanks for suggesting, but 1.02 did not improve call quality. While I can hear perfectly, my voice is transmitted poorly in SFOS (no problem in android). From following these posts, it seems to me that I'm the only one who has problems with call quality. Or am I wrong and others have problems as well?

For devs: how can I debug the issue and help with the bug report?
[Nexus 4 Android Development] vetzki:
Browser: had also some issues with sloppy typing (but only in the browser), in jolla store you can find an alternative (sorry dont know the name). With this, typing was more fluent (but I had some other issues with it and uninstalled it after some testing)

internal android storage: Yes, its easy. look here http://xdaforums.com/jolla-sailfish/general/qa-sailfish-n4-thread-devices-t2727330 , point 16.

(just mount mmcblk0p23, instead of mmcblk0p28. maybe need reboot for mediascanner)

btw: regarding faq, playing music and video (tested youtube video and with android camera recorded video) worked out-of-the-box for me (at least with 2.0.10/gamma4)
[Nexus 4 Android Development] suarez1907:
How is the battery time?
[Nexus 4 Android Development] radbme:
Not great but nexus 4 batteries aren't exactly new.
[Nexus 4 Android Development] Kubino:
IMHO similar to Android. I got 4h 40min SOT with minimal brightness (most of the time), half of the time wifi on, 2-3 phone calls.
[Nexus 4 Android Development] Kubino:
Why isn't date and time in EXIF in photos taken with Camera app? It's normal in Sailfish or just in this port?
[Nexus 4 Android Development] radbme:
How goes the development?
[Nexus 4 Android Development] bolek1337:
I am integrating fixes to screen on during phonecall and to audio routing problem (no sound in Recorder and during video recording). It will land in the next OTA.
[Nexus 4 Android Development] mdjishadk:
Not sure whether this question is too rubbish but hope someone will reply me.

1- How to get root access in sfdroid? and

2-How to access secondary ROM files in Primary ROM and vice versa in Multirom?
[Nexus 4 Android Development] Kubino:
1 - flash supersu (the android version)
[Nexus 4 Android Development] nh1402:
1. As Kubino said, flash a supersu zip like you would with any other android rom (no kernel flashing)

2. Navigate to this directory in a file manager "/data/media/0/multirom/roms/[secondary rom name]/data/.stowaways/"
[Nexus 4 Android Development] mdjishadk:
Thanks for your kind replies and now everything is pretty clear :)
[Nexus 4 Android Development] rinigus:
Great to hear! I wonder whether these changes in audio routing would influence the audio recording during the call or the audio is rooted differently for call?
[Nexus 4 Android Development] bolek1337:
There's some good and bad news. The good news is that I the input recording works now. I am attaching the rpms that should do this for you.

Instructions:

1. Unzip.

2. devel-su

3. rpm -e --nodeps pulseaudio-modules-droid-common pulseaudio-modules-droid

4. rpm -ivh pulseaudio-modules-droid-6.0.1-1.armv7hl.rpm pulseaudio-modules-droid-common-6.0.1-1.armv7hl.rpm

5. reboot

The bad news is that my Nexus4 fell face-down and the screen is shattered and not accepting touch input any more. If somebody helps me with OTA testing, we can make an OTA with updated pulseaudio-modules-droid packages. Unfortunately, I can't really test the update... The current state of the art sources are pushed to mer-hybris github, so the effort can be carried on by other volunteers. I hope I put the right rpms in the zip file, can't really check that, either.
[Nexus 4 Android Development] ReneX10:
ooohhhh no!

I will of course test........ I for one hope that this disaster doesn't spell the beginning of the end for this beautiful ROM on our mako's :eek:
[Nexus 4 Android Development] rinigus:
Sorry for you! You have done a great job in porting to N4 and now cannot use it.
[Nexus 4 Android Development] sergio_f:
Flash sfos

hi! on multirom i press the button flash zip but nothing happens anyone with same problem?
[Nexus 4 Android Development] fishears:
See my post above. It's a bug in MultiROM TWRP 3.0.0
[Nexus 4 Android Development] klamper:
can someone help me install whatsapp for sailfish.

ive tried installing the whatsup app from warehouse but after i open it enter my country code and number and go next it says registration error same with mitakuuluu.

ive installed sfdroid too but i dont have wifi or mobile network options in sfdroid
[Nexus 4 Android Development] rinigus:
sfdroid should have network connection immediately (network is routed through SFOS) and you don't need any Android networking configuration. I don't know 'bout whatsapp, but if the network connection is sufficient, you're good to go via sfdroid
[Nexus 4 Android Development] klamper:
but i do not even have a wifi icon signal in sfdroid is that ok?
[Nexus 4 Android Development] rinigus:
yes, its OK. Try to open a browser and see if you can browse without it in sfdroid
[Nexus 4 Android Development] klamper:
hey thanks it worked but im banned from whatsapp any solution ?
[Nexus 4 Android Development] Maximilian1st:
Use telegram ;-p
[Nexus 4 Android Development] grabber5.0:
LOL
[Nexus 4 Android Development] rinigus:
audio during call

Since I'm struggling with sound quality during the calls (my voice transmission to the calling party), I looked a little bit around and into the settings. It turns out that quite a few are complaining on call quality using mako on Ubuntu Touch, bug https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1318360 . It maybe related with what I'm observing on SFOS or something completely different.

However, I do wonder what's the audio path during a call. Is SFOS using Android hardware stack for it or is it using ALSA Linux configuration?

If it's using Android settings, is /system/build.prop loaded during a boot?

It seems that, in SFOS port, /system/etc/audio_{effects,policy}.conf are different between SFOS install and the CyanogenMod CM11 github tree. In SFOS, I think, some of the processing is not enabled in /system/etc/audio_{effects,policy}.conf. However, when I changed these conf-files in SFOS /system/etc/ to the ones from CM11, nothing really changed.

Hopefully, someone can help me out and get the same call quality in SFOS as in CM11, for example. As it is, it's a major problem preventing me to use this port of SFOS as a daily driver.
[Nexus 4 Android Development] mdjishadk:
Me too got banned once I tried to use the SF whatsap client. Just mailed them to unban me, and they did it 6 hrs later. Do the same ;)
[Nexus 4 Android Development] bolek1337:
Well, my wife did not complain about distorted sound on mako/sfos, and I'm regularly on call with her, but I never asked, so I'm not saying the problem is not there, just I can no longer reproduce it.

The Ubuntu bug reports that they flashed occam-kot49h-factory-02e344de.tgz and it fixed their issue. One guy reports to have fixed it by flashing it over the version he had before, which happened to be the same one. But I guess it would be too easy, right?

One guy in the Ubuntu bug reported that he found a different mic being used than what should have been. This is in line with the latest fix that I published in comment #424. That problem stemmed from the fact that the bionic libraries behaves differently with overflown integers than glibc, but this is fixed in that package in #424. Did you install the rpm by following the points in the comment?

It is using pulseaudio-modules-droid, which is the Android stack.

I would gladly check that for you, but it's difficult to unlock the device to get ssh access when the screen is shattered and touch input does not work. If the above pieces of advice don't help, you can try copying over some audio related settings to /default.prop. I am sure these get loaded.

I checked that and the repository I built the image against (android_device_lge_mako) is up-to-date with the Cyanogen branch for CM11. However, the files are different in the outcoming /system/etc/audio_*.conf because those files come from the cm-11-20141115-SNAPSHOT-M12-mako image (well, at least in my case). This seems to be missing a number of commits, which include "echo cancellation for voice communication", "Add the CM DSP library to the device-specific effects table". When you compare the sound quality wrt voicecalls, which Android version do you compare it with? Is it the Google's aosp, or is it CM? If that's the latter, is that the same version you use underneath SFOS? Does the voicecall work better there as well?
[Nexus 4 Android Development] rinigus:
Thank you for taking your time to reply!

The best feedback so far: "you sound as if you're in the huge metal barrel" or "as if your words are autodetected and then read by a machine"

I did check bootloader (all versions of modems have been flashed without great help, I have the last one now 1.07) and I upgraded from an old one (20i) to the last one makoz30f. No change, unfortunately. Would be too easy :)

OK, so then fiddling with build.prop (or default.prop) should influence it.

I'll try to find some simple obvious setting to check whether build.prop is loaded. If not, we'll add to default.prop (or would add anyway).

The difference among Androids are not that large (or not as obvious, if any). Android versions checked (and all produced consistent good results):

Chroma 6.0 as a main ROM in Multirom setup

cm-11-20141115-SNAPSHOT-M12-mako as a secondary ROM in Multirom

So, the latest patches for CM11 that I saw are probably not crucial. Note that SFOS is installed as a secondary ROM. For testing I did try Ubuntu Touch as a secondary ROM and that sounded very bad as well.

I'll see what can I do with build.prop and default.prop and would report back.

Thank you for your help and your great work again!

---------- Post added at 23:18 ---------- Previous post was at 22:31 ----------

Sorry, forgot to mention: I am using your latest RPMs.
[Nexus 4 Android Development] klamper:
yeah thanks did the the same, got unbanned :D