[Letux-kernel] How to build LetuxOS Android Kernel for LetuxOS Replicant 4.2?

H. Nikolaus Schaller hns at goldelico.com
Fri Jun 28 19:43:42 CEST 2019


Hi,

> Am 28.06.2019 um 19:36 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> On Fri, 28 Jun 2019 19:26:59 +0200
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
>>> Am 28.06.2019 um 19:15 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>> 
>>> On Thu, 27 Jun 2019 19:42:32 +0200
>>> Andreas Kemnade <andreas at kemnade.info> wrote:
>>> 
>>>> On Thu, 27 Jun 2019 18:34:29 +0200
>>>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
>>>> 
>>>>>> Am 27.06.2019 um 18:20 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>>>>>> 
>>>>>> Hi Andreas,
>>>>>> 
>>>>>>> Am 27.06.2019 um 18:09 schrieb Andreas Kemnade <andreas at kemnade.info>:
>>>>>>> 
>>>>>>> Hi Nikolaus,
>>>>>>> 
>>>>>>> On Thu, 27 Jun 2019 15:59:11 +0200
>>>>>>> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> maybe some reader here remembers better than me how to build
>>>>>>>> the android compatible kernels for LetuxOS Replicant.
>>>>>>>> 
>>>>>>>> Our LetuxOS Replicant 4.2 image
>>>>>>>> 
>>>>>>>> 	http://download.goldelico.com/letux-replicant/4.2/  (File: latest-replicant.tbz)
>>>>>>>> 
>>>>>>> 
>>>>>>> hmm, there is:
>>>>>>> http://download.goldelico.com/letux-replicant/4.2/20170423-kernel-4.10-replicant.tbz      
>>>>>> 
>>>>>> Yes... I just found it. I'm getting old :)
>>>>>> 
>>>>>> Unfortunately that one boots, shows the red Android but then ended in a kernel panic
>>>>>> for some iio locking.
>>>>>> 
>>>>>> I also tried the same with 
>>>>>> 
>>>>>> 20170423-kernel-4.10+smshack-replicant.tbz
>>>>>> 
>>>>>> and it also panics (attached).      
>>>>> 
>>>>> 20160626-kernel-4.6.tbz seems to boot and without NAND ECC reports!
>>>>> 
>>>> but probably without correct sound and support for newer modem fw. I
>>>> think I started on 4.9 or 4.10 with the gta04a5.
>>>> 
>>> and wifi is fixed in
>>> http://projects.goldelco.com/p/gta04-replicant-device/source/commit/b08e242fbd86838e3480316225d26da5c43da66b/  
>> 
>> Good to know!
>> 
>> I don't know from which manifest the latest binary .tbz was built...
>> So it may or may not include this patch.
> 
> well, look at the date. I am quite sure it was me how build the thing
> after fixing several tings.
> 
> Regards,
> Andreas
> PS: did you check the images for replicant 6 if they are the better
> starting point for improving things? Especially because android <4.4 or
> 4.3 api uses outdated tls version or something like that.

Well, I never was able to build replicant 6 or 4.4 due to too many broken
dependencies.

4.2 was the only one that I succeeded to build from sources.

But what I want to improve now is even much smaller, that I can simply do either

makesd replicant

or

makesd replicant -k some-newer-kernel

as a first step... I.e. use the existing and proven rootfs with newer kernels.
Then, we can think about improving.

And basically I just need this for a single experiment with an existing .apk
which seems to run on 4.2. I could have bought a 50€ Android device to save
time, but this is a better learning experience and almost everything is on
the table. Except loading modules and firmware...

BR,
Nikolaus



More information about the Letux-kernel mailing list