![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Quote:
Set RELEASE=2.0.5.6 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The upgrade process is not a script, but a chain of different terminal commands. I suggest that you did not yet enable some 'openrepos' repositories. First... Make sure that 'zypper' is installed Code:
devel-su pkcon install zypper 1. assign version to variable Code:
RELEASE=2.0.5.6 Code:
ssu release $RELEASE Code:
devel-su sed -i -e 's#^adaptation=.*$#adaptation=http://repo.merproject.org/obs/home:/RealJohnGalt:/testing:/hammerhead/sailfish_latest_armv7hl/#' \ Code:
ssu dr mw Code:
ssu lr Code:
devel-su zypper clean -a Code:
version --dup 8. sync/reboot (2 commands). You may have to force shutdown with a 'long press' on the power button. Code:
sync Code:
devel-su zypper in -f <last package> Code:
version --dup Code:
devel-su dr adaptation0 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@ minimec
Nice guide! The installation up to the crash at around 80% takes around 2 hours...you'll have to abort the installation yourself with 'CTRL+C'. I always do a 'version --dup' again to install the missing packages, it only takes a few minutes. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I compiled a new kernel of the cyaonegnmod 12.1-CAF source.
Kernel boots, but lipstick doesn't start. I get the following error message in journalctl: Code:
localhost mce[740]: modules/display.c: mdy_stm_step(): ui |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Update: The problem I faced may be related to the fact, that I disabled the 'adaptation0' repository too early. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
http://talk.maemo.org/showpost.php?p...&postcount=215 With those fixes, it doesn't echo, and the microphone sounds great. Those edits aren't necessary in the newer hardware adaptation, but I guess you need it for sfdroid. Let me know if I can be of further assistance! :D |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thank you very much! I will try that tomorrow if that takes so much time.
Besides, is there any hope left, that there will be an official release of SFOS for Fairphone 2? Or that a device like the nexus 5 will get a better android app support / alien dalvik support? This is the last thing keeping me and my family on android. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The questions you've asked are actually my tasks to complete, I just haven't had the time to get to work on it yet, should do soon though. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Could be a problem with the 'frame buffer device' or the 'hardware compositor' ( be aware that I am not a developer... ;) ) You could test the hardware compositor ( --> 'test_hwcomposer' ), but on my device 'test_hwcomposer' fails with 'Segmentation fault' after displaying the screen resolution. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Do you have any idea why the 2.0.4.13 image fails to start the sfdroid? I like to use that image because it has much better audio for phone calls. @deprecated suggested edit /system/build.prop for 2.0.1.11 is not giving me the same results as 2.0.4.13 image. I appreciate your help. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I'm a little bit tired at the moment backporting so many stuff to our old kernel, so i started to make a cm13 port for the Nexus. I ran in a few troubles building libhybris, hope to find a solution. I'll keep you updated :-)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Meanwhile, I think I'm going to start with the HADK to bring it over to my Nexus 6 and/or Nexus 5X. We'll see! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
During the upgrade from 2.0.1.11 to 2.0.4.13 (I use the 2.0.4.13 version because of another phone and it's backup) I came across the 80% stall and had to CTRL-c and follow the procedures as explained above. After a forced shutdown and reboot I got this message while reconnecting via SSH Code:
NOTICE: Env value ignored HYBRIS_LD_LIBRARY_PATH=/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib Code:
[nemo@Nexus5 ~]$ version --dup |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
pkcon refresh then try the version --dup again. The process typically re-enables adaptation0 repository, running that will clean it up. Edit: also remember to manually install whatever package(s) the upgrade fails on following the reboot, using pkcon install <packagename> Let me know if I can be of any assistance! |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Thank you and all of the smart devs for your input and be sure that a lot of silent users thank you the same way ;-) EDIT: Haha, I spoke too fast, SFOS does not boot anymore but I have a backup \o/ This is what the "version --dup" did: Code:
[root@Nexus5 nemo]# ssu dr adaptation0 Code:
Remove (24 packages) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
FWIW, still writing the table to serve as a knowledgebase for which settings perform best with the best battery savings. I've gone away from msm-mpdecision lately, so still testing and I'll have the table done ASAP. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
devel-su mount /system -o remount,rw,relatime,data=ordered You can verify it is now mounted read/write with: Code:
[nemo@Sailfish ~]$ mount | grep /dev/mmcblk0p25 Code:
/dev/mmcblk0p25 on /system type ext4 (rw,relatime,data=ordered) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Agps now seems to work for me (i.e., I can generally get a fix in seconds now, compared to several minutes with gps only), with a change to an ntp.org NTP server. Flashing the radio was unnecessary. In the Settings>Location menu, clicking "High-accuracy positioning" and "Device-only mode" seems to work the best for me, though I did not test that rigorously (so that may not be a real finding). I am on the hardware adaptation associated with the CM12 2.0.1.11 image, OTA'd to 2.0.5.6... |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The Nexus 5 is really nice on paper, and when it works. But it seems like you don't know what you are going to get with the hardware. I've returned one because LTE didn't work, and then I returned another one where LTE worked but not wifi. I completely believe a situation where reverting to an older radio would be a legitimate fix for one group of owners, unnecessary for a second group, and unworkable for a third. Say what you will about the old Nokia, but you could generally rely on build quality meeting a certain standard. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
So, i kind of got cm13 working on our Nexus5...
First i wanna thank all the people of #sailfish-porters who helped me..thank you guys! Today i installed my first compiled version and it booted :) But that is so far the only thing its doing :D WIFI doesn't work... Cellular doesn' work... Bluetooth doesn't work... Camera doesn't work... The gui doesn't start, because of oom_adjust errors(got thi solved by editing many systemd services, then the gui comes up, but this was only to see if the gui is working.) Sound works. Vibration works. Touch works. Buttons work. Telnet and SSH (both using USB) work. Charging works. Led works. So, many things to figure out, but it looks promising :-) I'll keep you updated. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
guys, simple question: to use another kernel instead the original one, i have to reinstall sailfish right? how I install the different kernel and what's the best for battery saving? I'm tired of this battery drain.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Your battery savings will depend on how far you can undervolt your SoC, which depends on its PVS binning, age, etc. I use a minimum frequency of 300MHz (as it seems to give me less CPU usage than 249MHz), maximum frequency of 1.5GHz, msm-mpdecision hotplug driver, conservative governor, noop I/O scheduler, 320MHz on GPU. My voltage table is custom, expect lipstick crashes and reboots. You should use the standard table and mine as a reference. Work down 10mV at a time for the lowest frequency until it's unstable, then ramp it up 5mV for longevity. Put some load on the device (moving around through menus works), and watch the load state with something like AIDA64. Watch which frequencies the device enters, for example 422Mhz or 652MHz, and adjust their voltages a little at a time as you did before. This is time consuming, but it is the only guaranteed way you'll undervolt and save some battery. My settings are as follows, I only lose ~8-10% over 12 hours with screen off. Special thanks to minimec for bits of his shell script and 100Hz/swap-enabled recompile, and mautz for the kernel work and integrating all these features: Code:
# Min/Max Frequency |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
is there also an improvement using Sailfish 2.0.4 instead of 2.0.1 ? I just wonder if i should update or not
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
As nh1402 alredy said, there's no new kernel version in cm13. Google never finished the 3.10 kernel, so until today no one got it fully working. But the 3.4 kernel of cm13 has many many updates over the cm12.1 version and it'll will be much easier to add new features. I hope i can release the test build next week... And 8-10% for 12hours of screen off time is very impressive, i'm stuck at 1% per hour, but that's enough for me ;) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Hi guys, i'm new in SfOS and everything so sorry for noob question.
I've updated SFOS on N5 to 2.0.5.6 and almost everything is working well. Almost, becouse i can't record videos and battery drain is massive. Can someone help me atleast with camera? I use it everyday. I'll be grateful for any help :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
https://openrepos.net/content/msameer/cameraplus-0 Maybe this helps with recording videos. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Regarding massive battery drain: Do you use sfdroid? I also had this massive drain and checking with 'top' in the terminal I found a 'main' process that was using CPU like hell. So I did 'pkill main' (with 2.0.5.6 you can also use 'killall main'), and battery drain was gone... |
All times are GMT. The time now is 05:50. |
vBulletin® Version 3.8.8