![]() |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What's the output of ifconfig, when the phone is connected via USB?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
ifconfig |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Ok, the problem is that you alreay have a connection in the IP range the phone can be connected to when using USB. The telnet IP is 192.168.2.15, but you are already connected to a network which uses the same IP range via enp0s29u1u1, which should be wired connection. So, when you telnet 192.168.2.15 it uses the ethernet connection, which surely cannot connect. Can yu disable the ethernet connection, and restart the phone? You should get a network device with USB in its name and you should be able to connect.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Probably I need to change something in the kernel config and recompile, but I don't know what change to what value.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Your network setup seems correct, enp0s29u1u1 is the ip over usb interface and it is correctly configured.
You should use command "telnet 192.168.2.15 2323", there's no colon in the command. :D |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
How can I disable the ethernet connection? |
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:
YES. This was it! (I disabled enp0s29u1u1 but when I unplugged the phone and plugged back it it appeared again. So, enp0s29u1u1 is the phone!) Now I got: Code:
telnet 192.168.2.15 2323 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I am very rubish with any network stuff.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
@juiceme
Thank you! @edp17 Maybe you could share your image? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Can you suggest a place to upload? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Mediafire for example.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I let you know the link once it is there. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What can I do with the telnet session?
It seems the system started but I don't see any obvious reason for not seeing anything on the screen in the 'init.log' file. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Check dmesg for errors. Check the systemd log with journalctl for errors. Some services like lipstick seem not to start, that's why you do not see anything.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
The upload completed. Here is the link. --removed--
(However I am not sure what you can do with it.) Edit: Latest info and image is available in my signature or here |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Please let me know if you have downloaded.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Downloading atm.
Could you also put your defconfig on pastebin? EDIT: Installing your version. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
I think I know what is missing from the kernel.
In dmesg there are these two lines: Code:
[ 7.851527] systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: No such file or directory And I remember among the warnings there were some flags regarding this cgroup. (CONFIG_CGROUP_PERF, CONFIG_CGROUP_DEVICE, CONFIG_NETPRIO_CGROUP, CONFIG_NET_CLS_CGROUP, CONFIG_CGROUP_MEM_RES_CTLR_KMEM, CONFIG_CGROUP_MEM_RES_CTLR_SWAP, CONFIG_CGROUP_MEM_RES_CTLR and CONFIG_BLK_CGROUP) |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Are you using MultiRom? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Code:
No journal files were found. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Edit: Latest info and image is available in my signature or here |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
WOW!!!! I have flashed a kernel from @mautz and after a reboot the screen appeared!!!! :D
Edit: Well, at least I see the language selection screen, however the screen doesn't respond on touch. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Did the same :-D
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
I have tried the v9 kernel from your signature, but it doesn't show the screen and the telnet doesn't work either. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
This means something definitely wrong with the kernel. I am double checking all flags from the warning against the mer-kernel-check log you linked in yesterday.
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
The following is wrong in the defconf:
Code:
CONFIG_BT_MSM_SLEEP=y I am just wondering whether any of these can be the root cause of the expected behaviour. :confused: By the way, can I flash the kernel that I compiled during the build? Or is it part of the sailfish.zip? |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What about the CGROUP stuff?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
Only these two flag were set differently. (As far as I know from my kernel check list.) I have changed them in the defconfig and started the recompilation. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Touch is working!
You need to change evdevtouch:/dev/input/event0 to evdevtouch:/dev/input/event1 in droid-hal-device.conf. |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
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? |
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 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
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.' |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
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... |
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
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 |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Okay, it is clear now. Thank you.
|
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: |
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
What is the error?
|
Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
Quote:
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 09:08. |
vBulletin® Version 3.8.8