maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

edp17 2019-11-15 00:02

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1562030)
Touch is working!
You need to change evdevtouch:/dev/input/event0 to evdevtouch:/dev/input/event1 in droid-hal-device.conf.

On the device? or in one of the configs and recompile the stuff?

Well, as I already have recompiled the kernel and just started to re-build HAL, I changed this in there and re-started to build HAL again. :)

Are you using the original kernel or the one we flashed after?

mautz 2019-11-15 00:07

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
You have to change it in the configs, no one would like to telnet into the phone and fiddling around with config files ;-)

hybris/droid-configs/sparse/var/lib/environment/compositor/droid-hal-device.conf

edp17 2019-11-15 00:16

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1562032)
You have to change it in the configs, no one would like to telnet into the phone and fiddling around with config files ;-)

hybris/droid-configs/sparse/var/lib/environment/compositor/droid-hal-device.conf

Thank you! I will do it. I thought need to change it somewhere on the phone.
When you posted first I located the file and changed it. Now the rebuild is running.
Well, it just crashed: 'Error <repo>[11/15 00:19:02] : Could not run transaction.'

mautz 2019-11-15 00:18

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by edp17 (Post 1562025)
:D Which one did you flash? I flashed the custom2.1.1.x-build-01.zip

I have tried the v9 kernel from your signature, but it doesn't show the screen and the telnet doesn't work either.

This is a cm13 kernel.
The kernels from my signature do not work, because they are missing this commit:

https://github.com/mautz-kernel/andr...24a69c545958b8

So, you have to add this to your kernel and start to recompile...

edp17 2019-11-15 00:25

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1562034)
This is a cm13 kernel.
The kernels from my signature do not work, because they are missing this commit:

https://github.com/mautz-kernel/andr...24a69c545958b8

So, you have to add this to your kernel and start to recompile...

I am sorry it is not clear. Do I need to add these changes that listed in that commit (like 'unsigned f_mode = file->f_mode;' ) into my kernel and recompile?

mautz 2019-11-15 00:37

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Yes you need to apply the patch. Download this file:
https://github.com/mautz-kernel/andr...545958b8.patch

and then do a
Code:

git am < 88c1d3ce778da5f5ed12c1e97424a69c545958b8.patch
in your kernel directory to apply the patch.

edp17 2019-11-15 00:38

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Okay, it is clear now. Thank you.

edp17 2019-11-15 00:43

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
It was quicker/easier to manually change the code. :-)
Thank you.

However now the 'rpm/dhd/helpers/build_packages.sh' is keep crashing. :eek:

mautz 2019-11-15 00:46

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
What is the error?

edp17 2019-11-15 00:54

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1562039)
What is the error?

The error was "Error <repo>[11/15 00:19:02] : Could not run transaction."
But don't worry about it now because I recompiled the kernel and restarted building the HAL too. If it crashes again I will check the libhybris.log and give you a shout.


All times are GMT. The time now is 23:41.

vBulletin® Version 3.8.8