Build LineageOS from source for Samsung SM-A500FU ? - LineageOS Questions & Answers

Hi,
I'm a seasoned Linux user, but I'm relatively new to the world of free operating systems on smartphones. A couple weeks ago I bought an old Samsung Galaxy A5 (SM-A500FU) just for fiddling with LineageOS.
I spent about a week experimenting a lot and taking notes about ADB, Heimdall, TWRP, flashing ZIP files, etc. I found out that unfortunately LineageOS isn't officially supported for this phone. On the other hand, I managed to install a custom (unsupported) version of LineageOS on this phone:
lineage-16_a5_releases/README.md at master · DeadSquirrel01/lineage-16_a5_releases
lineageos 16 releases for Galaxy A5 SM-A500FU. Contribute to DeadSquirrel01/lineage-16_a5_releases development by creating an account on GitHub.
github.com
So much for a successful first experience.
Here's a very general question. Since there is no official LineageOS ROM available for my phone (as far as I understand the platform is a5lte), can I build a recent version of LineageOS from source for my specific device? Is this a more or less trivial task (like building LineageOS from source for an officially supported device) or will I have to jump through a series of burning loops?
Cheers from Austria,
Niki

Related

Android Open Pwn Project for Oneplus 3/3t

Can anyone build the AOPP rom from Pwnie express for one plus 3/3t?
All informations can be found here:
https://www.pwnieexpress.com/aopp
They (the current release builds) are based on Android Lollipop (5.1.1) so no.
Their git shows that a nougat based version is WIP, so maybe once work on that is complete.
Nothing really different then Kali for android and that seemed to have burned out as you lose many device features as it is made with a different purpose in mind.

Perhaps the way to custom firmware on MediaPad M2 8.0

Hello everyone. I decided to write a tree for it based on the sources of huawei. Work in the process, it remains to assemble the kernel and deal with Ramdisk and paint the size of its screen.
So let's get to the point. I am laying out now what there is to search for errors and the inclusion of which I could forget.
If we can assemble it, then it will be possible to assemble custom rom for it.
https://drive.google.com/drive/folders/1-Xmq93J4Uybd_jD9Vb78pU-UH2YYOFWd?usp=sharing
**UPDATE***
I posted it on the github. I tried to finish it. Thanks to Team Win Recovery Project and their repository
GitHub - Mirsem13/sourceTreeHuaweiMediapadM28.0: Source tree for huawei mediapad m2 8.0 tablet
Source tree for huawei mediapad m2 8.0 tablet. Contribute to Mirsem13/sourceTreeHuaweiMediapadM28.0 development by creating an account on GitHub.
github.com
I will try to collect lineage os on this tablet within this week
Forgive me for my English I live in Russia
你有个好主意。来,我在注意你
That would be amazing. I still love the hardware of this tablet, but the software is just awful.
**UPDATE***

Port new lineage os to mako(LG Nexus 4)

Hi. I want to try to build lineage os 17/18 for my old phone. I have env and I already build package for other phone. For Nexus 4 there and only some old lineage os 15 builds. How to prepare lineage os 18 based on lineage os 15? Is it possible or maybe it needs to be done from scratch. Is there any instruction how to do this?
Porting a ROM means there's a similar device with a working LineageOS on it. Which means it's already built, and only small modifications to make it stable for you.
Porting doesn't work the way you described. You can't build Android 12 on top of Android 8, every new major Android update, Google releases a new source code.
Then, manufacturers/developers modify it to their sweets. What you want to do is to build LineageOS 18/17 for an unsupported device. There's a lot of guides online about it. The context matters.
Can you share some links about building lineage os for unsupported devices? Will it help somehow when there are some old versions builds?

{GSIs} {ROM} {GUIDE} Lists of all tested and suitable for daily driver GSIs

Hi and welcome to this thread. Most A50 users really wants custom roms based in AOSP but sadly, we can only find One UI based roms here. Here is the solution. GSIs. How do they work? All android devices shipped with android 9 and above should/can boot specially made AOSP so that they can ship with google apps and phhusson and other developers found a somewhat similar aosp build and used it to build what the so called GSI roms. Now because our device shipped with android 9, it should boot aosp. But there are some caveats. Bluetooth calling, hotspot, nfc and others are just some of them. But luckily, individual developers strives hard to patch this caveats and support more devices.
How to install GSIs:
Make sure you are in either one ui 2/2.1/2.5/3.1(I suggest one ui 2.x because you can ise android 10 and 11 based GSIs while One ui 3 users canm only use android 11 GSIs)
All GSIs you will download from the internet will either come from .zip, .xz and .img. We need the latter one. If you have other than .img, just extract it.
Flash twrp for your device
Go to INSTALL
Press Flash image in lower right
Find the .img file
Flash as SYSTEM FILE
reboot to recovery(if you want root)
If you want gapps just go back to recovery and flash your gapps(opengapps ,mindthegapps, etc)
For the list of tested GSIs for a50, here they are(most of them are found in [https://forum.xda-developers.com/f/treble-enabled-device-development-a-ab-roms.7260/] [https://github.com/phhusson/treble_...c-System-Image-(GSI)-list#official-android-11] and [https://www.recovery-mode.com/tag/gsi-rom-for-a50] I suggest you visit the forum and gsi there)
1. https://forum.xda-developers.com/t/gsi-unofficial-11-pixel-experience-pixel-experience-plus.4269051/
This is Pixel Experience and Pixel Experience PLUS.
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)
Their mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device
Based on Android 11
2. https://forum.xda-developers.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4205461/
This is Lineage OS
LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS GitHub repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review.
3. https://github.com/eremitein/treble-patches/wiki
This is A collection of GSIs made by Eremitein. This includes CAOS, LiR(LOS based), BLESS(Bliss roms based),crDrom(Crdroid bassed) and qiRom(Bootleggers based)
4. https://forum.xda-developers.com/t/...ix-v8-7-0-gsi-arm-a64-arm64-aonly-ab.4219067/
This is Ressurection Remix(one of my personal favorites)
Resurrection Remix the ROM has been based on LineageOS, SlimRoms, Omni and original Remix ROM builds, this creates an awesome
combination of performance, customization, power and the most new features, brought directly to your Device.
Many things that in previous versions were tweaked with mods, are now included by default in the ROM so, please enjoy!
Special thanks to the LineageOS team, Omni team, SlimRoms and of course to all the supporters.
5. https://forum.xda-developers.com/t/...a-ab-ab-vndklite-gapps-vanilla.4076903/unread
This is Havoc Os
Havoc-OS 4.x is based on AOSP, inspired by Google Pixel.
Has a refined Material Design 2 UI crafted by @SKULSHADY.
Many useful features that will blow your mind.
All you can dream of and all you'll ever need.
Just flash and enjoy...
6. https://downloads.octavi-os.com/?dir=GSI/ARM64-AB
This is octavi OS
7. https://sourceforge.net/projects/braiagsi/files/
This is a collection of GSIs made by braigsi
I suggest that you try Project Xtended, Sakura, Dotos, STyxos, Komdo OS, Lineage OS FE and Palladium OS
8. https://sourceforge.net/projects/amber-gsi/files/
This is a collection made by [email protected]
You can try all of -11 roms (Nusantra-11,ColtOS-11, and others.)
9. https://sourceforge.net/projects/ancientrom/files/gsi/V5.4/
This is Ancient OS(one that I have used for a long time)
What Bugs to expect:
Bleutooth(for some but not all), Offline charging, Cameras(only one camera in the back is detected. If using one ui 2.x, all cameras can be detected)

Question Why we still don't have LineageOS 19?

Why we still don't have LineageOS 19?
What is missing ?
I asked luk and he told me build quality is not enough good in his opinion (that was month ago)
A couple Asus and Pixels got it so far, according to this post.
https://www.xda-developers.com/lineageos-19-android-12/
Kernel source is here but, judging by the performance of the stock rom, it's probably not great as a stable base :
GitHub - OnePlusOSS/android_kernel_oneplus_sm8350 at oneplus/SM8350_S_12.0_9Pro
Contribute to OnePlusOSS/android_kernel_oneplus_sm8350 development by creating an account on GitHub.
github.com
OnePlus themselves seem to have been pushing 12.1 to earlier models and are probably just going to go for a better Android 13 experience for the 9/10 models.
Even Google has made a mess of Android 12 on their own Pixels.
You can always check the OnePlus github at the url above and search for the chipset which you can confirm using the GSMArena page for the phone :
OnePlus 9 Pro - Full phone specifications
www.gsmarena.com
When you do, you'll see the latest revisions pushed by OnePlus along with the Android base, SM8350_S_12.0 in the above case. If you don't see the current version then there's no kernel source pushed by OnePlus which means custom rom modders need to try using previous kernel source. That's why all the Android 12 roms have been using the Android 11 kernel and why the phone had to have OxygenOS 11 before flashing
djsubterrain said:
Kernel source is here but, judging by the performance of the stock rom, it's probably not great as a stable base :
GitHub - OnePlusOSS/android_kernel_oneplus_sm8350 at oneplus/SM8350_S_12.0_9Pro
Contribute to OnePlusOSS/android_kernel_oneplus_sm8350 development by creating an account on GitHub.
github.com
OnePlus themselves seem to have been pushing 12.1 to earlier models and are probably just going to go for a better Android 13 experience for the 9/10 models.
Even Google has made a mess of Android 12 on their own Pixels.
You can always check the OnePlus github at the url above and search for the chipset which you can confirm using the GSMArena page for the phone :
OnePlus 9 Pro - Full phone specifications
www.gsmarena.com
When you do, you'll see the latest revisions pushed by OnePlus along with the Android base, SM8350_S_12.0 in the above case. If you don't see the current version then there's no kernel source pushed by OnePlus which means custom rom modders need to try using previous kernel source. That's why all the Android 12 roms have been using the Android 11 kernel and why the phone had to have OxygenOS 11 before flashing
Click to expand...
Click to collapse
thats why custom A12 roms, still need stock A11 firmware ?
GabrielSousa said:
thats why custom A12 roms, still need stock A11 firmware ?
Click to expand...
Click to collapse
Until now yes but judging by what was said above, even the A12 kernel isn't up to scratch for custom roms.

Categories

Resources