We have moved to a new Sailfish OS Forum. Please start new discussions there.
21

[Sailfish X] Can I flash Xperia Kernel 4.4 instead of 3.10? [answered]

asked 2018-01-12 23:51:33 +0200

rozgwi gravatar image

updated 2018-01-12 23:52:58 +0200

Hi,

I would like to know if it is possible to use the new AOSP loire kernel 4.4 available from Sony. What are the odds that this newer kernel would work when flashed together with Sailfish X instead of 3.10? I have an Xperia using a custom Android ROM (OMNI) with 7.1.2 and recently acquired Sailfish X, which points me to the 3.10 kernel image.

How would one gernerally compile a custom kernel to be used with Sailfish X? Can the available adaption guides and manuals provided for SailfishOS be applied here as well?

Can someone advise me on this and maybe point out some good starting points? I'm new to Sailfish and am having difficulties to collect all the relevant information to hardware adaption.

Thanks in advance!

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by rozgwi
close date 2018-07-05 00:07:59.051206

1 Answer

Sort by » oldest newest most voted
3

answered 2018-01-13 09:32:04 +0200

lakutalo gravatar image

updated 2018-01-13 10:05:43 +0200

Hi @rozgwi, welcome to TJC and thanks for being part of the community! What a splendid idea, BTW!

You will get a lot of information here https://sailfishos.org/wiki/SailfishOS, as you will have to take the community version of SFOS to be able to recompile.

Other useful sources of information for you might be found in those threads:

edit flag offensive delete publish link more

Comments

2

@lakutalo:
Greetings and thanks for the warm welcome and the infos.
Just one more question: You say that I'd have to use the community edition of SFOS. So I take it that using a newer kernel with SailfishX (i.e. just flashing the 4.4 loire image) is not possible/won't work?
I would very much like to have Alien Dalvik available :)

rozgwi ( 2018-01-14 23:20:17 +0200 )edit
3

As with every other distribution you need to recompile everything for a newer kernel. Alien Dalvik is not part of the community version, though. So I very much doubt it, to tell it the most positive way I can imagine right now, unless of course you can get the sources. :)

lakutalo ( 2018-01-14 23:32:10 +0200 )edit
2

As with every other distribution you need to recompile everything for a newer kernel.

As a Gentoo user I can totally say that this is not true. Quite the opposite, at least mainline Linux kernel devs try not to break userland components with kernel changes.
What is true though is that all kernel modules need to be rebuild when updating the kernel. And AlienDalvik might be tied to a certain kernel version, too.

schmittlauch ( 2018-02-28 12:20:06 +0200 )edit

There is now kernel 4.9 available at Sony Developer site:

https://developer.sony.com/file/download/software-binaries-for-aosp-pie-android-9-0-kernel-4-9-loire-v1/

It would be very, very awesome if Jolla would update Sailfish X to run on top of that... It requires a metric ton of work, but perhaps community could do bulk of the work...

Direc ( 2018-11-16 17:41:15 +0200 )edit

Oh, and to answer your actual question: I tried to flash SFOSX using kernel 4.4 image instead of the one listed in the install guide, and the result was a non-booting device. I just reflashed the correct image, and my device worked again - and still works :)

Direc ( 2018-11-16 17:42:43 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2018-01-12 23:51:33 +0200

Seen: 1,367 times

Last updated: Jan 14 '18