![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@claustn
I forgot to ask. As you are still using wip0.16, do you experience any issues regarding the incoming/outgoing calls? Thanks. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I have created the new (potentially last) build (wip0.20) which is available in my signature.
Including the connman-tools by default has fixed the bluetooth, but for be able to change the date & time we still need to re-install the timed-qt5. So, this is it, I hope you find my work useful. (I have been using my builds as daily driver since wip0.13. And I am quite happy with the previous one wip0.19.) I would like to say a !!!MASSIVE!!! Thank you to @mautz! Without him this build probably never happened. I had the idea how to bring back AD and HW acceleration with the latest Sailfish features and libraries, but he has the knowledge and with his guidance I was able to achieve what I wanted. So, again THANK YOU! (Funny because I wrote 'my work' however I was only the hand who done what @mautz suggested. :D.) I also would like to highlight @juiceme too who helped out at the beginning. And of course everybody else who helped with testing the builds: @claustn, @sailor, @nickh Plus @TheRealJohnGalt because I used many things from his repo. Now I hope would like to go to OBS then I am planning to do OTA updates too. If anybody (other than me :D) is interested. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Last night I also tested the battery on wip0.19. For me the battery dropped 2% over 7 hours but I kept the Battery Log open all night long and the phone probably was trying to refresh messages from whatsapp, messenger lite, telegram and email. (I put the phone into airplane mode so I am not sure whether these processes are smart enough to not wake up the device if there is no active internet connection and the screen is off.) I am not sure whether this is good or not so good but I am happy with this result. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Next week i'll have access to my N5 again, i'll ask in #sailfish-porters for help regarding the video issue and look into the mtp issue, if you guys haven't solved it until then.
@edp17 If you could uüpload a few files from your buil, i'd like to setup a test repo in my OBS account to check if the OTA bug is also gone. If everything is fine, we'll ask for your own OBS account. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
All of my work is in github. I am happy to send you the files but I think much easier if you take that you need from my github repos. There are some extra repos for my next work but everything is related has the hammerhead in the repo name. (As usual :)) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I think share my plans for the future as you may/will/can/want help in them :D.
(Apologies if some of this is a little bit off topic.)
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I got a few questions regarding the AD.
The base I used in my build is CM12.1 which is Android 5.1 Lolipop.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
The user @matemana packaged AD for Nexus 4 and 5, try to contact him |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I think I did. A few months ago I contacted a guy called matusala on xda regarding the AD. I think the two nick covers the same person as he told me he worked on AD for Nexus 4 and packaged it for Nexus 5 too. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Yes, it's the same person.
I'm not sure if Anbox will work due to the old kernel version the Nexus has. But i only tried it once and didn't get far. I'm thinking about trying to make a new port for the Nexus using cm16 as base. I think that some things in the base android system have changed since cm12.1 so that AD isn't able to run, maybe reverting some commits could help to get it working, but it would be very hard to find out which ine to revert. Getting Anbox working would be much better, because many new Android Apps need at least Android 5.0 to work... |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I wouldn't use cm16 yet. At least that is not 100% on my S7. 15.1 was rock solid and still is a very good base, so I would go for that one. But, unfortunately that doesn't install in multirom so not an option for me. Unless I port Sailfish to my S7. In that case I can play with my Nexus 5 so will not be tied to the multirom anymore. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I have asked birdzhang about which base (14.1 or 15.1) I should chose for my S7 port where later he can help me with the Anbox. He confirmed that Anbox (currently) only works with 14.1 base. So, if you would like to make somehow Anbox work on Nexus 5, I would go for this base rather than cm16. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thanks for the hint!
I just checked the needed kernel options for Anbox, and many of were introduced in the 4.x kernel line. I think it is near to get Anbox running on 3.4 kernel which the Nexus uses. But i'll take a deeper look into it. EDIT: Seems like the UbuntuTouch guys got it running with 3.4 kernel. Maybe i should get in touch with them. |
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
Now I have started working on my next build for the S7 and came across with this graphics performance improvements in the hadk-faq.
I added that extra line (QPA_HWC_IDLE_TIME=5) into the '/var/lib/environment/compositor/droid-hal-device.conf' and it indeed reduced the red lines in my frame rate test. (There were not so many before but I got now even less.) So, I recommend this little extra manual work to you as well. Note: I have tried the other QPA_HWC_BUFFER_COUNT=3 line too, but it made the frame rate test a bit worse, so I removed this and only kept the idle_time one. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Thanks, i'll check that, when i have access to my Nexus...fetching LineageOS14.1 at the moment...
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Yesterday I have managed to compile the kernel but building the hybris failed at the beginning. Fortunately I have found a good place where from some kernel patches are available and in the hadk-faq there is a hint for why the hybris build failed. Today, I will try again. Once I have a build that I can install and test, I will open a topic for that because don't want to litter this one with my S7 troubles. :) By the way, from my github repo have you managed to get the files what you need for testing the OBS? If not, please let me know what you need and I will send over. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I'll keep the fingers crossed for your build!
I need some rpms of your local repo, i'll tell you next week which files i need. |
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
I have got a question.
If I build a sailfish with cm-12.1 base, can I use any 5.1 android image (for the same device of course) to flash "under" my sailfish build? (We always use the cm-12.1-20160704-UNOFFICIAL-hammerhead-nocheck.zip for the underlying android but when I tried a 2015 version, the phone stuck on the Google logo.) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@mautz
Did you managed to solve the issue you got? How is your CM14.1 build going? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I have fixed the MTP issue. It was kernel related. I applied the necessary patch and as far as I tested it works. Please flash the kernel from my signature or install wip0.21. I hope this helps. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Have you thought about not using a base at all? There has been an effort to add mainline support for the nexus 5.here also I now have a dev machine and my Nexus 5 is available as a secondary device that I can use for experimentation, maybe it's time to get it going again.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
But if we don't use android base, Sailfish cannot communicate with the hardware. However writing drivers are possible too, but you need to write every single one of them and there are no documentation because those are proprietary. The guys at Replicant are rewriting android drivers but they do support only a handful of devices and not all drivers they were able to reverse engineer. Plus, I use that Replicant 6 (Android 6 equivalent) on my Galaxy S2-i9100 but there are lots of 'the app stopped' error and some apps doesn't start or immediately ends. In my personal opinion the OS is usable, but Sailfish is better. (I hope soon can start working on this port too :).) |
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:
I have managed to compile the kernel (got some suggestions from the guys at sailfishos-porters) then I built two sailfishos image. None of them boots. The phone stuck at the Samsung logo. And none of them gets mac address/ip address either. So telnet doesn't work, I need to manually assign a mac address and bring up the network to be able to telnet in to the phone. Then, I can start journal and see messages but mostly look ok, so I am puzzled why it doesn't continue the init process. :eek: Edit: probably the selinux is not disabled and that is the problem. |
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
Any suspicious in dmesg output? What happens if you try to start the lipstick service?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
And you? Managed to make progress on the hybris-hal build? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Yes, hybris-hal finished without errors. But hadn't the time to create the configs. Maybe later or tommorow.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
For me it is interesting because all (kernel, hybris-hal, packaging, build) finished without error but my image (3rd one) still stuck on the logo. (I just installed and checked with trying to start the phone but haven't got the chance to check whether I can telnet into the last one because I fell asleep.) Probably there was(were) problem(s) otherwise it would start normally, but I expect the image to boot up if all steps in hadk completes without error. Well, as somebody said to me, porting isn't an easy task. :) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I know you are busy with your cm14.1 port but I appreciated if you could let me know when your are going to set the mentioned test repo up in your OBS. And what files you need from me. Thank you. (Don't want to urge you at all, I just asked.) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@edp17
These are the files i need, i hope i didn't forgot anything. Code:
audioflingerglue-xxxx.armv7hl.rpm |
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:
Do you have a package called droid-hal-hammerhead-users on your system? Should be in your local repo folder. Could you upload it please? |
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
Thank you very much!
https://s19.directupload.net/images/...p/2dxxioae.png If you want to test, here are the repos: Code:
adaptation-community-common |
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:
Unfortunately the PMOS doesn't work with multirom. (I have tried to extract the kernel, rootfs and other stuff then extract the rootfs. At the end it didn't boot and I just messed up my Sailfish rom that I used for this experiment. :rolleyes:) Then I have tried PMOS (xfce4) on my S2 (i9100) but didn't really work too much in there. Probably the Nexus 5 development is more advanced but as it doesn't work with multirom... Edit: The link is broken in your post. (The closure ) is missing.) Here is the good one: PMOS for hammerhead |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Are you sure this adaptation-community-common shouldn't be adaptation-community-common-hammerhead? (Previously we have added two repos: adaptation-community-hammerhead and adaptation-community-common-hammerhead) Thanks. |
All times are GMT. The time now is 13:52. |
vBulletin® Version 3.8.8