A300FU Lineage 16.0 Selfbuild Bootproblem [SOLVED] - Samsung Galaxy A3, A5, A7 (2017) Questions & Answe

hi all
my story:
i got my hands on a samsung galaxy a300fu (aka. a3ulte) 2015 and successfully installed twrp3.2.3 and a custom lineage build version 14.1. my goal however is to build, install and boot lineage 15.1 or lineage 16.0. the building is not the problem! i can build both versions (with help of the lineage wiki and the local manifest from the github user "Galaxy-MSM8916"). i can also install them however i'm unable to boot them.
what i tried so far:
- the mentioned github user offers multiple lineage 15.1 downloads for the device but none of them seem to boot (it crushed my PIT or something i needed to reflash the recovery image)
- since android 8.0 the debug mode is off so i needed to build an engineering version (another 4h) to get some kernel messages but i'm kind of overwhelmed with 11000 lines of debug (not counting the loops)
- on androidfilehost there is a lineage 16 build from the user vlw (also present here on xda) which strangely seems to be working! after checking its system properties file however it seems this build is kind of a hybrid (part a3lte, part a3ulte). also i'm unable to contact him that's why i'm writing here.
i'm pretty much out of ideas and would like to know if any of you has an idea how to proceed.
regards
edit:
related to github.com/Galaxy-MSM8916/android_device_samsung_gprimeltezt/issues/1
able to boot after renaming hardware/qcom/keymaster/Androir.mk to hardware/qcom/keymaster/Android.mk.nobuild

Related

D855 CM13 Nightly to Lineage 14.1 Nightly Upgrade

Hi All,
There are lots of guides but I am kind of lost as I couldn't find what I am exactly looking for.
I have the latest nightly build of CM13(cm-13.0-20161108-NIGHTLY-d855.zip) installed on my LG G3(d855). And I want to upgrade it to Lineage OS 14.1 nightly builds(for example latest right now: lineage-14.1-20170529-nightly-d855-signed.zip). Is it possible to upgrade without wiping the data?
Thanks for all the answers
Ok so now I learned how to do it:
If you already have CM or an unofficial AOSP based ROM, you don't have to wipe your device - in the download section there's an "experimental" build that you can install over your existing AOSP based ROM and it will migrate you to LOS without needing to wipe (potentially - it may not work and boot loop, in which case you'd need to wipe anyway).
To install:
- Download both the nightly/weekly/stable version of LOS 14.1 and the "experimental" image.
- Boot to TWRP
- Install the "exprimental" build
- Reboot
- After a reboot, the system should load and a watermark saying "cm to lineage migration build" should be all over the screen. If this is the case - everythine worked fine! Continue to the next step. If it didn't boot, just reboot to TWRP and wipe the device as per the instructions above and continue with the instructions in the article.
- If everything went fine, reboot, go back to TWRP, install the regular image and reboot back to a fully working Lineage OS.
<iframe src="https://www.facebook.com/plugins/comment_embed.php?href=http%3A%2F%2Fwww.hacksandgeeks.com%2F%3Ffb_comment_id%3D1511179785573949_1518812844810643%26comment_id%3D1518812844810643%23!Official-Lineage-OS-141-for-LG-G3-d855%2Fcjds%2F58873349d0df48966dd30b30&include_parent=false" width="421" height="181" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
However, I cant find experimental build anywhere, anybody who has the experimental d855 build for lineage os; can upload it somewhere and share with me ?
Also Is there a way to change the thread title to "looking for experimental build d855 lineage os" ?

Help building Lineageos kernel from source

I'm no expert and just wanted to try and build Mi5s lineageos kernel with just a few minor changes, not the whole rom, but after flashing it doesn't boot.
This is more or less what I've done:
Downloaded lineageos Mi5s source:
https://github.com/LineageOS/android_kernel_xiaomi_msm8996
Downloaded Gooogle's prebuilt toolchain:
https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/
Setup a build system following guides/tutorials from here and there.
Got it to successfully build after a few fixes to source but it doesn't pass the Mi logo.
The 3 images in the output folder are, Image, Image.gz and Image.gz-dtb, from what I've read in various tutorials was to use the Image.gz-dtb image.
So initially I unpacked stock lineageos boot.img and repacked it with my compiled Image.gz-dtb, also I've tried Anykernel2, but it just results in a non booting kernel.
I'm not sure what I'm missing and any help is really appreciated.

Building LineageOS for Samsung S6 (zeroltexx)

I am after some help in building LineageOS 15.1 for Samsung S6 (zerofltexx) and S6 Edge (zeroltexx). I know it isn't officially supported (only 14.1 is official), however there are unofficial builds and apparently all the sources required are on GitHub.
I have tried LOTS of times to build this but each build has the same issues when flashed to the S6 Edge I have to test with.
I have followed the guide here - https://wiki.lineageos.org/devices/zeroltexx/build which officially covers building Lineage 14.1. I have wiped an i7 PC with 24GB RAM and 2 * 1TB disks. I installed Ubuntu 18.04 desktop, installed all updates, added all the required components listed in the guide (I also needed to add python that wasn't listed). I changed the repo sync command to be 'repo init -u https://github.com/LineageOS/android.git -b lineage-15.1'. I then pulled in the 'zero.xml' repo manifest from here - https://github.com/Exynos7420/local_manifests and added it to /.repo/local_manifests/ and then built the ROM.
It appears to build OK - there are lots of errors in the log, however I think this is correct? It takes about 37-minutes and it outputs a .zip file in the out/product/zeroltexx directory. This installs OK to the S6 Edge, however there is an error at the start of it booting about selinux (small red text at the top of the screen for a couple of seconds). Once booted the audio doesn't work and neither does the RIL. This is compared to the unofficial ROM that Enes Uzun has created.
I have asked (and asked...) for help on the telegram group, however I keep getting told I am not doing anything wrong. If this is the case then I am doing something wrong in creating my build environment - i.e. Ubuntu or the Lineage build parts.
I am hoping someone on here has had a similar experience and managed to solve the issues or can point me in the right direction as I am stumped. I have wiped the machine and rebuilt Ubuntu 18.04 desktop 3 times so far. Following the build the results are the same each time so whatever I am doing wrong I am doing it each time.
Any help is really appreciated.
Andy
Help....
In my continuing failed attempts at building this I have now wiped another PC - Intel Core 2 Quad-Core Dell XPS with 16GB RAM and 2 * 640GB hard drives, installed Ubuntu 18.04, followed the guide etc etc etc and have hit EXACTLY the same issue so I am definitely doing something wrong.
I found this guide - https://forum.xda-developers.com/android/software-hacking/guide-how-to-build-lineageos-15-1-t3750175 which is for Lineage 16.0, however there is a link to this - https://web.archive.org/web/2018061...ng/guide-how-to-build-lineageos-15-1-t3750175 which is for Lineage 15.1.
So I wiped the original i7 24GB machine and installed Windows 10 Insider Preview 18290, enabled WSL and then added Ubuntu 18.04 from the microsoft store and then followed the guide TO THE LETTER and added the zero.xml from https://github.com/Exynos7420/local_manifests to the /.repo/local_manifests folder, did a 'repo sync' etc etc. Guess what? same f'cking issue..
Help please anyone? I just want to build my own Lineage 15.1 for Samsung S6 (zerofltexx) and S6 Edge (zeroltexx) so that I am not reliant on someone else releasing randomly periodic ROMs that are likely to stop when the developer stops building Lineage 15.1.
Help...
Fixed it....
The zeroltexx sources were incomplete. They were missing some files and a couple of files were wrong. These have now been updated by the maintainer (https://github.com/Exynos7420/android_device_samsung_zeroltexx), however these haven't been pushed to the official Lineage repositories yet (https://github.com/LineageOS/android_device_samsung_zeroltexx). Therefore if you are going to build it yourself you will need to use the Exynos7420 repositories (for the S6 Edge zeroltexx that is - the S6 zerofltexx has the right stuff).
Andy
Hi ADB100,
many thanks! I will try the same, after my lovely S5 get's the black-screen-of-death.
My colleague gave my an old S6, but I had lerned to love los 16.
My problem was to know howto add additional sources to the los 16 sources. Here your thread gave my some important tips.
I started to learn a build with the official sources of los 14.1, but it failed of less ram on my computer and an out of memory error message.
So I grabbed 6 gb of an old pc to give it a next try next week. If it will work I will tdy los16.
I'm not a developer, but familiar with Linux. My problem is to add all sources and to manage git and repo.
Additional to use the zero.xml. I put it on your mentioned folder, but "breakfast zero" or "breakfast zeroltexx" sent me a nothing found!
Do you have a good tutorial which I can follow?
I spent a lot af time to search for it, but all tutorials was for official build, same like the los build guide.

Missing settings icon following first build attempt

I was able to compile Lineage OS 15.1 for my Asus Nexus Player but only after two workarounds (one missing file/buggered prebuilt bison). The build made my own update which I sideloaded according to the Lineage OS instructions. I ran through setup, and once reaching the main UI, I've no Settings icon anywhere to be found.
I was able to use a official nightly build to update everything. I then applied my own resulting kernel. My personal objective to make and boot my own kernel is complete, but I'd hoped to have my own entire build with the basics working so I could then tackle how to include additional packages, kernel modules I had it make during build, and firmware for my tuner.
Excluding the kernel, I'd like my image to give me the same experience as a nightly build, but I don't know what went wrong. I''m asking for advice on this.
Thanks.

Built LineageOS 17.1 for unsupported device, stuck on boot animation

Hello, i just built 17.1 for an unsupported device (HMD Nokia 6 TA-1021) and I'm stuck at the boot animation.
This is my first build so I'm kind of a noob, I can see some errors in the logcat but I'm not sure what to do to fix them.
E.g.:
Code:
Cannot find entry [email protected]::IHealth/default in either framework or device manifest.
Cannot find entry [email protected]::IThermal/default in either framework or device manifest.
Cannot find entry [email protected]::ISensors/default in either framework or device manifest.
Even if those HALs are present in my manifest.xml and device.mk. Am I missing something?
I get some "CANNOT LINK EXECUTABLE" too because of missing symbols, I think I'm missing some proprietary blobs but a Google search didn't help me. How can I debug this?
Here's the full logcat: https://pastebin.com/FM8CZp6f
Device tree used: https://github.com/sguerrini97/android_device_nokia_PLE/tree/lineage-17.1
Vendor tree used: https://github.com/sguerrini97/android_vendor_nokia_PLE
Kernel tree used: https://github.com/sguerrini97/android_kernel_nokia_msm8937
Thank you
I don't know much about rom development. But u can get some help from t.me/alaskalinuxuser_romdevelopment
sguerrini97 said:
Hello, i just built 17.1 for an unsupported device (HMD Nokia 6 TA-1021) and I'm stuck at the boot animation.
Click to expand...
Click to collapse
hi!
I have the same problem now with my samsung a5 2017(a5y17lte). i have flashed from v16.0 to v17.1 with twrp3.3. i am now constantly in the animation and after a while the phone restarts in twrp.
device is supported btw.
did you solved the problem?
best regards
fullnode said:
hi!
I have the same problem now with my samsung a5 2017(a5y17lte). i have flashed from v16.0 to v17.1 with twrp3.3. i am now constantly in the animation and after a while the phone restarts in twrp.
device is supported btw.
did you solved the problem?
best regards
Click to expand...
Click to collapse
I don't think here is the right place for your question. Follow the guide from wiki.lineageos.org

Categories

Resources