It will need to be a relatively modern device. I spent a long time failing to build for Sony Xperia Z3, Z3 Compact, and Z3 Tablet Compact (released 2014). The builds were succeeding but the Iode & News apps were missing.
Finally we discovered that this is because the Z3 family are arm devices, and the missing apps are only built for arm64.
The AOSP keyboard is replaced by OpenBoard in iodéOS, but tablet config files had not been modified.
This is done, you can sync the sources again and try to build.
fatal: duplicate path hardware/samsung in /media/stephan/fb606504-cd42-47e3-905a-f70eafe380d9/lineage/.repo/manifest.xml
======================================
Ignoring this, brunch later gives me:
[ 99% 609/610] finishing build rules …
vendor/lineage/build/tasks/kernel.mk:130: warning: ***************************************************************
vendor/lineage/build/tasks/kernel.mk:131: warning: * Using prebuilt kernel binary instead of source *
vendor/lineage/build/tasks/kernel.mk:132: warning: * THIS IS DEPRECATED, AND IS NOT ADVISED. *
vendor/lineage/build/tasks/kernel.mk:133: warning: * Please configure your device to download the kernel *
vendor/lineage/build/tasks/kernel.mk:134: warning: * source repository to kernel/samsung/sdm670
vendor/lineage/build/tasks/kernel.mk:135: warning: * for more information *
vendor/lineage/build/tasks/kernel.mk:136: warning: ***************************************************************
[…]
FAILED: ninja: ‘out/target/product/gts4lv/kernel’, needed by ‘out/target/product/gts4lv/recovery.img’, missing and no known rule to make it
18:17:07 ninja failed with: exit status 1
You really shouldn’t ignore it - that error message means that your repo sync will not have completed successfully, which means you wont have checked out all the projects you need to build successfully.
That would be one explanation for not being able to find the kernel
First thing is to fix the repo sync error. The problem may be in your local manifest, and once you’ve fixed it you may need to rm -rf .repo/manifest* then call repo init again before calling repo sync
I don’t know, I’m new to all of this also and I’m not familiar with samsung either. I assume you have checked (as I have just done) the actual github pages for the four entries in the roomservice xml. Can’t see anything obvious there.
If your .repo/manifest.xml is the same as mine for lynx it will contain just one entry: include name=“default.xml” /.
Have you checked the default.xml in the .repo/manifests folder?
To be honest I don’t quite know what to look for apart from the clue in your error message, i.e. duplicate path hardware/samsung.
Checked the files and diretories for entries that might lead to the cause of the error message. In addition to the entroes in roomservice xml mentioned above found the following: