Sony Nagara (Xperia 1IV and 5IV) port

I guess I misunderstood or skipped this sentence: :grinning_face:

”Current set of blobs is provided at sony-nagara repository for Lineage.”

Sorry to bother you. Can’t seem to get the podman to find that android-env image. Going the other way, I was able to get to the source build/envsetup.sh step, but it just doesn’t do anything in bash (and crashes in fish). (I’m using OpenSUSE Tumbleweed).

1 Like

In case if you miss android-env docker/podman. This is environment that I use to make sure that my builds have some simple reference environment. We have dockerfile in main repository under android-build folder. See step-by-step at

under Setting up an Android Build Environment

Looks like that is missing in LOS21 docs. I wonder whether we should add a reference to it in there :slight_smile:

PS: Wiki page with environment setup is added and referred to from LOS21 and SFOS HADK pages

5 Likes

Build fails with this:

I see that only pdx224 blobs are uploaded in the repo, I guess they should be enough?

EDIT: Deleted the folders and resynced and all blobs showed up. I guess I shouldn’t have tried extraction before that. :slight_smile:

EDIT 2: Seems to compile now.

1 Like

indeed, LOS21 build is not as automated as for SFOS. but, in principle, its rather simple. just sync all sources via repo sync - so all should be defined via manifests. that way you can be sure that the build is using correct sources. plus all patches via repopick have to be applied :slight_smile:

Good luck!

2 Likes

Should I flash that build on the phone or continue directly to Sailfish build?

The build failed again, this time with:

you would have to flash it and then test it for some time. better not rush.

did you use podman or something else as a build env? looks like java is not starting, right?

1 Like

Podman. Yeah, something like that.

Great, the Sony unlock page fails in Firefox with unknown reason when I try to get my code. It still works in Chromium though.

did you use our Dockerfile to generate podman image? if yes, then it sounds strange when my build goes through and yours doesn’t…

Yeah, I used it. I started the build again and this time it still builds at 51% now.

1 Like

Now fails with another message. The max threads value is high, so probably something else.

out-of-memory :frowning:

20 chars

Well, I have 128GB RAM in the box, so probably not. :slight_smile:

you mentioned many threads - maybe something is hitting limits?

Not sure, here are the limits in the vm:

hard to say. But error was out of memory. Java frequently has its own limit that is specified somehow. maybe that’s what is limiting…

I presume you are on the step

breakfast pdx223 userdebug && m 

maybe m has an argument like -j3 to limit threads?

1 Like

What exactly is m, since it is not cooperating to tell me its options? :slight_smile:

1 Like