Question Build LineageOS 18.1 for A52 4G - Samsung Galaxy A52 4G

Hello,
since Android 12 looks like crap and also has no SIP client, i decided to try to build LineageOS 18.1 for the A52 4G. I haven't done a build before. Would it be enough to replace
repo init -u https://github.com/LineageOS/android.git -b lineage-19.1 with repo init -u https://github.com/LineageOS/android.git -b lineage-18.1
and otherwise folow the same steps? Also, can it be done on Manjaro? I could otherwise set up an Ubuntu VM.
Thanks!

Yes, building on Manjaro should work too. And yes, its enough to replace lineage-19.1 with lineage-18.1
On a side note though, there are old 18.1 builds for A52 4G available that you can download. The link is still in my 19.1 thread under "Downloads". However those have by far more issues than current 19.1 versions.

Related

Android 5.1.1 Released

Android 5.1.1 Released to Nexus Player so far repo init -b android-5.1.1_r1 && repo sync dev change 5.1.1_r1 (LMY47V
cell2011 said:
Android 5.1.1 Released to Nexus Player so far repo init -b android-5.1.1_r1 && repo sync dev change 5.1.1_r1 (LMY47V
Click to expand...
Click to collapse
reported.

Forking Cyanogenmod for Grouper

Hi,
I am trying to learn building my own rom based on Cyanogenmod 11 and I am thinking of forking CM11 Grouper's code so I can merge patches to the code. Is there a guide on how to fork the repositories and how to build the rom from the repos? I am trying to fork android_device_asus_grouper and android_kernel_asus_grouper repos but I have no idea how to build from there. Am I missing some other repos?
Thanks.
Probably you would like to have a look on this thread

DotOS 5.0 Android 11 GSI

Hey There,
Can Someone Build A Gsi Of ARM64 A/B DotOS 5.0 Android 11 GSI !
Here Is Its Repo
"repo init -u git://github.com/DotOS/manifest.git -b dot11"
"https://github.com/DotOS/manifest"
Please Make Me Its GSI With ARM64 A/B Partition.
Thanks,
Shabbir Ezzy
for A-Only too

Build a particular version of android.

Hi, I'm following these steps
Downloading the Source | Android Open Source Project
source.android.com
repo init -u https://android.googlesource.com/platform/manifest
to download and build Android from source.
I don't understand how to checkout a particula branch using repo.
I have tryied
repo checkout android-8.0.0_r9
but still I have the latest.
Another question: how can I select only a particular architecture?

Questions on Kernel compilation

I'm new to the android build system but have been running stripped kernels for years. I'm working on a custom rom for a TCL A30 (MT6762/MT6765).
I've looked at the AOSP code base and TCL source, for a similar device, and it looks like the TCL source generates the needed kernel .config file with scripts. There are multiple scripts for different archs and cellphone carriers. My TCL A30 has a Bangkok_CC (ConsumerCellular) tag and I found arch/arm64/configs/bangkok_TF_defconfig (TracFone). There do not appear to be any patches in the TCL source. The source I found:
TCL-Mobile on sourceforge
Has the Tracfone TCL A3:
Tracfone TCL A3x product link
That source contains Bangkok_TF_defconfig.
I was able to adb pull /proc/config.gz directly from the device and it's running 4.19.126+ released last month.
First question: Can I generate a bangkok_CC_defconfig from /proc/config.gz in the AOSP code base? It is mosttly monolithic
Code:
cat .config | grep =m > kernel_modules.txt
CONFIG_IKHEADERS=m
CONFIG_TCP_CONG_WESTWOOD=m
CONFIG_TCP_CONG_HTCP=m
CONFIG_SERIAL_OF_PLATFORM=m
CONFIG_BATTERY_MT6359=m
CONFIG_SND_SOC_MT6359_ACCDET=m
CONFIG_USB_DUMMY_HCD=m
CONFIG_MMC_SDHCI=m
CONFIG_MMC_SDHCI_PLTFM=m
CONFIG_MMSTAT_TRACER=m
At the time of this post the latest upstream is 4.19.244
Second question: Are most Android projects like Debian/RHEL where they back patch kernel vulnerabilites? Would the most up-to-date kernel result from the latest AOSP source and would building it just be a matter of dropping in my /proc/config.gz and setting the build environment that I found in the TCL source?
I suspect that AOSP is contributing back to kernel.org. Third question: AOSP vs Kernel.org source? Does Google backport like RHEL/Debian? Or would I get a more recent,, secure kernel using upstream kernel.org source?.
Last question Clang vs GCC. I've just setup my Arch Linux build box w/ arm64_gcc. Speed is less important to me than stable builds. What are the arguments for one compiler over another?

Categories

Resources