[Samsung Galaxy S5 Neo Guides, News, & Discussion] Stricted:
Hello all,

im working on LineageOS for the SM-G903F

the repositories are locatd here

https://github.com/Stricted/android_device_samsung_s5neoltexx

https://github.com/Stricted/android_device_samsung_s5neoltexx

https://github.com/Stricted/android_hardware_samsung_slsi-cm_exynos7580

https://github.com/Stricted/android_device_samsung_exynos7580-common

https://github.com/Stricted/android_vendor_samsung_s5neoltexx

im using the kernel for the J7 ( im not sure if that even works ) with the s5neo defconfig because i cant get the original kernel for the s5neo to compile together with android

it compiles completely through

unfortunately i currently dont have the device here to test it ( it might need some time to get the phone for me )

maybe here is someone want to test it

(if needed i can provide an installation zip)

pull requests are welcome

maybe we can get together LineageOS to the s5 neo

cretits for this goes to github.com/Exynos7580/ who did the most of the work of this

use this at your own risk

my roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Stricted/android_kernel_samsung_s5neoltexx" path="kernel/samsung/s5neoltexx" remote="github" revision="master" />
<project name="Stricted/android_device_samsung_exynos7580-common" path="device/samsung/exynos7580-common" remote="github" revision="cm-14.1" />
<project name="Stricted/android_hardware_samsung_slsi-cm_exynos7580" path="hardware/samsung_slsi-cm/exynos7580" remote="github" revision="cm-14.1" />
<project name="Stricted/android_device_samsung_s5neoltexx" path="device/samsung/s5neoltexx" remote="github" revision="cm-14.1" />
<project name="Stricted/android_vendor_samsung_s5neoltexx" path="vendor/samsung/s5neoltexx" remote="github" revision="cm-14.1" />

<project name="LineageOS/android_hardware_samsung_slsi-cm_exynos5" path="hardware/samsung_slsi-cm/exynos5" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_hardware_samsung_slsi-cm_exynos" path="hardware/samsung_slsi-cm/exynos" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_hardware_samsung_slsi-cm_openmax" path="hardware/samsung_slsi-cm/openmax" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_external_stlport" path="external/stlport" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-14.1" />
</manifest>

build log:

[ 99% 4021/4028] Target userdata fs image: /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img
BuildImage: in_dir = /home/buildtest/android/system/out/target/product/s5neoltexx/data, out_file = /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img
fs type is not ext4
Running: mkuserimg.sh -s /home/buildtest/android/system/out/target/product/s5neoltexx/data /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img ext4 data 13514047488 -D /home/buildtest/android/system/out/target/product/s5neoltexx/system -L data /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin
make_ext4fs -s -T -1 -S /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin -L data -l 13514047488 -a data /home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img /home/buildtest/android/system/out/target/product/s5neoltexx/data /home/buildtest/android/system/out/target/product/s5neoltexx/system
Creating filesystem with parameters:
Size: 13514047488
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label: data
Blocks: 3299328
Block groups: 101
Reserved block group size: 807
Created filesystem with 23/825776 inodes and 94140/3299328 blocks
Running ['mkuserimg.sh', '-s', '/home/buildtest/android/system/out/target/product/s5neoltexx/data', '/home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img', 'ext4', 'data', '13514047488', '-D', '/home/buildtest/android/system/out/target/product/s5neoltexx/system', '-L', 'data', '/home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin'] command, exit code = 0
/home/buildtest/android/system/out/target/product/s5neoltexx/userdata.img maxsize=13796868096 blocksize=135168 total=146545812 reserve=139493376
[ 99% 4025/4028] Target system fs image: /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img
BuildImage: in_dir = /home/buildtest/android/system/out/target/product/s5neoltexx/system, out_file = /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img
fs type is not ext4
Running: mkuserimg.sh -s /home/buildtest/android/system/out/target/product/s5neoltexx/system /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 1887436800 -D /home/buildtest/android/system/out/target/product/s5neoltexx/system -L system /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin
make_ext4fs -s -T -1 -S /home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin -L system -l 1887436800 -a system /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img /home/buildtest/android/system/out/target/product/s5neoltexx/system /home/buildtest/android/system/out/target/product/s5neoltexx/system
Creating filesystem with parameters:
Size: 1887436800
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 7200
Label: system
Blocks: 460800
Block groups: 15
Reserved block group size: 119
Created filesystem with 2133/115200 inodes and 152818/460800 blocks
Running ['mkuserimg.sh', '-s', '/home/buildtest/android/system/out/target/product/s5neoltexx/system', '/home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/systemimage_intermediates/system.img', 'ext4', 'system', '1887436800', '-D', '/home/buildtest/android/system/out/target/product/s5neoltexx/system', '-L', 'system', '/home/buildtest/android/system/out/target/product/s5neoltexx/root/file_contexts.bin'] command, exit code = 0
[ 99% 4025/4028] Construct recovery from boot
chunk 0: type 0 start 0 len 14260234
chunk 1: type 2 start 14260234 len 3065600
chunk 2: type 0 start 15867939 len 616413
Construct patches for 3 chunks...
patch 0 is 213 bytes (of 14260234)
patch 1 is 3427104 bytes (of 1607705)
patch 2 is 188 bytes (of 616413)
chunk 0: normal ( 0, 14260234) 213
chunk 1: deflate ( 14260234, 5846472) 3427104 (null)
chunk 2: normal ( 20106706, 614958) 188
[ 99% 4026/4028] Install system fs image: /home/buildtest/android/system/out/target/product/s5neoltexx/system.img
/home/buildtest/android/system/out/target/product/s5neoltexx/system.img+/home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=1926955008 blocksize=135168 total=599454129 reserve=19464192
[ 99% 4027/4028] Package target files: /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/target_files_intermediates/lineage_s5neoltexx-target_files-ce2507b18d.zip
using prebuilt recovery.img from BOOTABLE_IMAGES...
using prebuilt boot.img from BOOTABLE_IMAGES...
putting script in bin/install-recovery.sh
running: unzip -o -q /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/target_files_intermediates/lineage_s5neoltexx-target_files-ce2507b18d.zip -d /tmp/targetfiles-6VZJ14

++++ boot ++++

using prebuilt boot.img from BOOTABLE_IMAGES...

++++ recovery ++++

using prebuilt recovery.img from BOOTABLE_IMAGES...

++++ system ++++

creating system.img...
BuildImage: in_dir = /tmp/targetfiles-6VZJ14/system, out_file = /tmp/system-NzHDBv.img
fs type is not ext4
Running: mkuserimg.sh -s /tmp/targetfiles-6VZJ14/system /tmp/system-NzHDBv.img ext4 system 1887436800 -T 1230764400 -C /tmp/targetfiles-6VZJ14/META/filesystem_config.txt -B /tmp/system-blocklist-WgkapP.map -L system /tmp/targetfiles-6VZJ14/META/file_contexts.bin
make_ext4fs -s -T 1230764400 -S /tmp/targetfiles-6VZJ14/META/file_contexts.bin -C /tmp/targetfiles-6VZJ14/META/filesystem_config.txt -B /tmp/system-blocklist-WgkapP.map -L system -l 1887436800 -a system /tmp/system-NzHDBv.img /tmp/targetfiles-6VZJ14/system
loaded 2125 fs_config entries
Creating filesystem with parameters:
Size: 1887436800
Block size: 4096
Blocks per group: 32768
Inodes per group: 7680
Inode size: 256
Journal blocks: 7200
Label: system
Blocks: 460800
Block groups: 15
Reserved block group size: 119
Created filesystem with 2135/115200 inodes and 153171/460800 blocks
Running ['mkuserimg.sh', '-s', '/tmp/targetfiles-6VZJ14/system', '/tmp/system-NzHDBv.img', 'ext4', 'system', '1887436800', '-T', '1230764400', '-C', '/tmp/targetfiles-6VZJ14/META/filesystem_config.txt', '-B', '/tmp/system-blocklist-WgkapP.map', '-L', 'system', '/tmp/targetfiles-6VZJ14/META/file_contexts.bin'] command, exit code = 0

++++ userdata ++++

creating userdata.img...
BuildImage: in_dir = /tmp/tmpnCwGNR/data, out_file = /tmp/tmpmY1oi7
fs type is not ext4
Running: mkuserimg.sh -s /tmp/tmpnCwGNR/data /tmp/tmpmY1oi7 ext4 data 13514047488 -T 1230764400 -L data /tmp/targetfiles-6VZJ14/META/file_contexts.bin
make_ext4fs -s -T 1230764400 -S /tmp/targetfiles-6VZJ14/META/file_contexts.bin -L data -l 13514047488 -a data /tmp/tmpmY1oi7 /tmp/tmpnCwGNR/data
Creating filesystem with parameters:
Size: 13514047488
Block size: 4096
Blocks per group: 32768
Inodes per group: 8176
Inode size: 256
Journal blocks: 32768
Label: data
Blocks: 3299328
Block groups: 101
Reserved block group size: 807
Created filesystem with 11/825776 inodes and 92674/3299328 blocks
Running ['mkuserimg.sh', '-s', '/tmp/tmpnCwGNR/data', '/tmp/tmpmY1oi7', 'ext4', 'data', '13514047488', '-T', '1230764400', '-L', 'data', '/tmp/targetfiles-6VZJ14/META/file_contexts.bin'] command, exit code = 0

++++ extrauserdata ++++

++++ cache ++++

done.
[100% 4028/4028] Package OTA: /home/buildtest/android/system/out/target/product/s5neoltexx/lineage_s5neoltexx-ota-ce2507b18d.zip
unzipping target target-files...
running: unzip -o -q /home/buildtest/android/system/out/target/product/s5neoltexx/obj/PACKAGING/target_files_intermediates/lineage_s5neoltexx-target_files-ce2507b18d.zip -d /tmp/targetfiles-Lj9pkC
--- target info ---
blockimgdiff_versions = (str) 1,2,3,4
blocksize = (int) 131072
boot_size = (int) 29360128
build.prop = (dict) {'dalvik.vm.isa.arm.variant': 'cortex-a53', 'ro.product.cpu.abilist': 'armeabi-v7a,armeabi', 'ro.build.id': 'NOF27B', 'ro.hwui.gradient_cache_size': '2', 'dalvik.vm.stack-trace-file': '/data/anr/traces.txt', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'dalvik.vm.isa.arm.features': 'default', 'af.fast_track_multiplier': '1', 'dalvik.vm.lockprof.threshold': '500', 'persist.sys.strictmode.disable': 'true', 'ro.product.manufacturer': 'samsung', 'media.stagefright.less-secure': '1', 'ro.hwui.layer_cache_size': '34', 'persist.sys.dalvik.vm.lib.2': 'libart.so', 'ro.bootimage.build.fingerprint': 'samsung/lineage_s5neoltexx/s5neoltexx:7.1.1/NOF27B/ce2507b18d:userdebug/test-keys', 'dalvik.vm.heapstartsize': '8m', 'ro.product.brand': 'samsung', 'wifi.interface': 'wlan0', 'ro.cm.build.version.plat.sdk': '7', 'ro.cmlegal.url': 'https://lineageos.org/legal', 'dalvik.vm.heapsize': '512m', 'dalvik.vm.heaptargetutilization': '0.75', 'ro.build.host': 'lineageos', 'ro.build.version.security_patch': '2017-03-05', 'ro.opa.eligible_device': 'true', 'media.sf.extractor-plugin': 'libffmpeg_extractor.so', 'ro.product.locale': 'en-US', 'ro.chipname': 'exynos7580', 'dalvik.vm.heapminfree': '2m', 'audio_hal.disable_two_mic': 'true', 'ro.board.platform': 'exynos5', 'ro.product.cpu.abilist64': '', 'ro.expect.recovery_id': '0x5d1cd8b4851711546fb73bb1f0d92ef9c64a9c05000000000000000000000000', 'ro.build.flavor': 'lineage_s5neoltexx-userdebug', 'debug.hwc.force_gpu': '1', 'ro.build.version.release': '7.1.1', 'ro.build.version.codename': 'REL', 'net.bt.name': 'Android', 'ro.build.type': 'userdebug', 'ro.hwui.text_large_cache_width': '2048', 'ro.config.alarm_alert': 'Hassium.ogg', 'ro.opengles.version': '196609', 'ro.hwui.text_small_cache_height': '1024', 'ro.build.display.id': 'lineage_s5neoltexx-userdebug 7.1.1 NOF27B ce2507b18d test-keys', 'ro.config.ringtone': 'Orion.ogg', 'media.stagefright.legacyencoder': '1', 'ro.carrier': 'unknown', 'ro.product.board': 'universal7580', 'ro.build.version.preview_sdk': '0', 'ro.com.google.clientidbase': 'android-google', 'ro.cm.build.version.plat.rev': '0', 'ro.build.date': 'Mon Apr 3 16:18:46 CEST 2017', 'ro.hwui.shape_cache_size': '4', 'qcom.bluetooth.soc': 'rome', 'ro.build.date.utc': '1491229126', 'ro.build.characteristics': 'default', 'keyguard.no_require_sim': 'true', 'ro.build.version.all_codenames': 'REL', 'dalvik.vm.heapmaxfree': '8m', 'ro.build.selinux': '1', 'ro.hwui.text_small_cache_width': '1024', 'ro.product.cpu.abi': 'armeabi-v7a', 'ro.cm.version': '14.1-20170403-UNOFFICIAL-s5neoltexx', 'ro.product.name': 'lineage_s5neoltexx', 'ro.hwui.drop_shadow_cache_size': '6', 'ro.build.version.base_os': '', 'media.sf.omx-plugin': 'libffmpeg_omx.so', 'ro.wifi.channels': '', 'ro.hwui.r_buffer_cache_size': '4', 'ro.modversion': '14.1-20170403-UNOFFICIAL-s5neoltexx', 'ro.storage_manager.enabled': 'true', 'ro.hwui.fbo_cache_size': '16', 'ro.build.version.incremental': 'ce2507b18d', 'ro.hwui.text_large_cache_height': '1024', 'ro.build.tags': 'test-keys', 'ro.sf.lcd_density': '480', 'ro.build.version.sdk': '25', 'ro.cm.releasetype': 'UNOFFICIAL', 'ro.product.cpu.abi2': 'armeabi', 'ro.nfc.sec_hal': 'true', 'ro.build.user': 'buildtest', 'ro.hwui.path_cache_size': '10', 'ro.arch': 'exynos7580', 'ro.hwui.texture_cache_flushrate': '0.4', 'ro.hwui.texture_cache_size': '50', 'ro.cm.device': 's5neoltexx', 'ro.cm.display.version': '14.1-20170403-UNOFFICIAL-s5neoltexx', 'dalvik.vm.heapgrowthlimit': '128m', 'persist.sys.dun.override': '0', 'ro.config.notification_sound': 'Argon.ogg'}
cache_size = (int) 104857600
default_system_dev_certificate = (str) build/target/product/security/testkey
device_type = (str) MMC
extfs_sparse_flag = (str) -s
extra_recovery_keys = (str) vendor/cm/build/target/product/security/lineage
fs_type = (str) ext4
fstab = (dict) {'/cache': <common.Partition object at 0x7f51efa25c90>, '/data': <common.Partition object at 0x7f51efa25790>, '/system': <common.Partition object at 0x7f51efa25a50>, '/efs': <common.Partition object at 0x7f51efa25490>, '/recovery': <common.Partition object at 0x7f51efa25590>, '/boot': <common.Partition object at 0x7f51efa259d0>}
fstab_version = (int) 2
mkbootimg_args = (str) --kernel_offset 0x00008000 --ramdisk_offset 0x01000000 --tags_offset 0x00000100 --dt device/samsung/s5neoltexx/dt.img
mkbootimg_version_args = (str) --os_version 7.1.1 --os_patch_level 2017-03-05
multistage_support = (str) 1
ota_override_device = (str) s5neo3g,s5neo3gxx,s5neolte,s5neoltexx
ota_override_prop = (str) true
recovery_api_version = (int) 3
recovery_as_boot = (str)
recovery_mount_options = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc
recovery_size = (int) 35651584
selinux_fc = (str) /tmp/targetfiles-Lj9pkC/META/file_contexts.bin
squashfs_sparse_flag = (str) -s
system_size = (int) 1887436800
tool_extensions = (str) device/samsung/s5neoltexx/../common
update_rename_support = (str) 1
use_set_metadata = (str) 1
userdata_size = (int) 13514047488
unable to load device-specific module; assuming none
using prebuilt recovery.img from BOOTABLE_IMAGES...
using system.img from target-files
Total of 460800 4096-byte output blocks in 3852 input chunks.
Finding transfers...
Generating digraph...
Finding vertex sequence...
Reversing backward edges...
0/0 dependencies (0.00%) were violated; 0 source blocks stashed.
Improving vertex order...
Revising stash size...
Total 0 blocks (0 bytes) are packed as new blocks due to insufficient cache size.
Reticulating splines...
597426176 597426176 (100.00%) new __DATA
max stashed blocks: 0 (0 bytes), limit: 83886080 bytes (0.00%)

using prebuilt boot.img from BOOTABLE_IMAGES...
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -Djava.library.path=/home/buildtest/android/system/out/host/linux-x86/lib64 -jar /home/buildtest/android/system/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpWwMKyZ /home/buildtest/android/system/out/target/product/s5neoltexx/lineage_s5neoltexx-ota-ce2507b18d.zip
done.
make: Leaving directory '/home/buildtest/android/system'

#### make completed successfully (08:52 (mm:ss)) ####

buildtest@lineageos:~/android/system$