[G800F/M/Y][ROM][8.1.0][OPM2] LineageOS 15.1 for G800F/M/Y [Alpha]

Search This thread

VoidBit

New member
Feb 24, 2018
1
0
I'm trying to build Lineage 15.1 myself and after some fixable errors my build fails with this:
Code:
Made recovery image: /home/me/android/system/out/target/product/kminilte/recovery.img
[ 11% 44/376] Dexpreopt Jar: services (/home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/javalib.odex)
FAILED: /home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/javalib.odex 
/bin/bash -c "(rm -f /home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/javalib.odex ) && (mkdir -p /home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\"*:e\" /home/me/android/system/out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --class-loader-context=\"&\" --boot-image=/home/me/android/system/out/target/product/kminilte/dex_bootjars/system/framework/boot.art --dex-file=/home/me/android/system/out/target/common/obj/JAVA_LIBRARIES/services_intermediates/javalib.jar --dex-location=/system/framework/services.jar --oat-file=/home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/javalib.odex --android-root=/home/me/android/system/out/target/product/kminilte/system --instruction-set=arm --instruction-set-variant=cortex-a7 --instruction-set-features=default --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-inline-from=core-oj.jar  --compiler-filter=speed --generate-mini-debug-info --app-image-file=/home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/oat/arm/javalib.art --image-format=lz4 --profile-file=/home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/profile.prof )"
dex2oatd E 03-02 11:31:45 23816 23816 dex2oat.cc:2329] Cannot lock profiles: Failed to lock file '/home/me/android/system/out/target/product/kminilte/obj/JAVA_LIBRARIES/services_intermediates/profile.prof': Bad file descriptor
dex2oatd E 03-02 11:31:45 23816 23816 dex2oat.cc:3093] Failed to process profile file
ninja: build stopped: subcommand failed.
11:31:45 ninja failed with: exit status 1
I first thought it was because it tried to use "services_intermediates//profile.prof" so I searched and changed the corresponding makefile rule, but it still fails now.
I'd appreciate your help and if I can run builds on my own would gladly help working on the ROM
 

hackintosh5

Senior Member
Sep 15, 2017
1,246
947
I'm trying to build Lineage 15.1 myself and after some fixable errors my build fails with this:

I first thought it was because it tried to use "services_intermediates//profile.prof" so I searched and changed the corresponding makefile rule, but it still fails now.
I'd appreciate your help and if I can run builds on my own would gladly help working on the ROM
It says bad file descriptor, so maybe update your OS, and ensure the HDD is reliable. Also reboot your PC

Sent from my athene using XDA Labs
 

joker.mn

Senior Member
Nov 16, 2008
114
0
Dear all, i successfully installed the ROM, but I cannot access mobile internet and cannot use call fowarding.
I tried manually adding an APN (smartmobil), but it did not work. What should I do next? Can you please help me?
 

Andrea224

Senior Member
Jan 18, 2016
795
475
Rome
Dear all, i successfully installed the ROM, but I cannot access mobile internet and cannot use call fowarding.
I tried manually adding an APN (smartmobil), but it did not work. What should I do next? Can you please help me?
Why do we have to help you if the rom itself isn't ready for daily usage yet? The dev hasn't released it because it stil has some bugs/not-working feature, so if the S5 Mini is your main phone I would suggest you to switch on a properly working rom.
 
  • Like
Reactions: Danko Jones

Oleggluk

Senior Member
Jul 29, 2015
276
117

kare_meesner

Senior Member
Mar 14, 2018
65
19
bavaria
tried the ROM too: its great!
wiped system, cache etc, installed "Mind the gapps 8.1 arm" , everythings fine (the things I need).
restored Data-Partition, everything ok. Camera works better then with 8.0, advanced reboot (into TWRP 3.2) works too, access to external sd-card also

thanks a lot
 
  • Like
Reactions: nico_vo

nico_vo

Senior Member
Oct 15, 2014
457
124
München
tried the ROM too: its great!
wiped system, cache etc, installed "Mind the gapps 8.1 arm" , everythings fine (the things I need).
restored Data-Partition, everything ok. Camera works better then with 8.0, advanced reboot (into TWRP 3.2) works too, access to external sd-card also

thanks a lot
Does video recording work or is it still broken?


Sent from my SM-G800F using Tapatalk
 

CHEF-KOCH

Senior Member
Jan 2, 2012
451
234
I'm just leaving this here...
https://drive.google.com/open?id=1nRWy6eufyVQqcQKG3UIR1_r7Zxlmb7Ct

P.S. @hennymcc in case tell me if I have to remove it.

Please remove the build.

I appreciate the work you did to compile it but you dropped it without testing it yourself or giving any explanation that this is a modded version. I tested it and it's highly modded, the wallpaper is not the LineageOS one ... it's a galaxy wallpaper.The setup Wizard keeps crashing all the time because Google Vision Settings want to constantly logging you in into its service. This is also not included in any LineageOS build I'm aware of. The restart menu is also quite different from what I've last seen of LOS.

I could post several screenshots of it but it's clearly that it's homebrew build when you open the package with a file manager or winrar/7zip cause several things are changed. I expected a clean LOS build without mods in it cause no description was given.

Please do us all a favour remove it, it's unstable as hell and seems no one actually tested it by doing a clean installation which should be done in tests to ensure no unexpected behaviours happening.

Thanks. I think best is still to wait till LOS 16 is fixed for our device which means the known problems are migrated then we could think about compiling the versions.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 53
    This is a LineageOS 15.1 ROM for the Exynos3470 based Samsung Galaxy S5 mini (G800F/G800M/G800Y).

    DO NOT USE IT FOR G800H OR YOU WILL BRICK YOUR DEVICE
    Please do not ask for support or ROMs for the G800H. G800F and G800H have nothing in common.

    Working features
    • HW accelerated GUI
    • Initiate and receive calls
    • Camera (only photos)
    • Flash Light
    • Sound
    • Fingerprint scanner
    • Hardware sensors (Orientation, Compass, Proximity, Acceleration, Hall sensor, Step counter)
    • Light sensor (needed for auto-brightness)
    • Pulse sensor (preliminary and very inaccurate. Works with Apps like Kardiograph)
    • Wifi
    • GPS
    • Bluetooth (A2DP, HFP, HID)
    • Mobile Data
    • SMS
    • MTP storage
    • USB-OTG (Keyboard, Mouse, USB-Audio)
    • IR
    • NFC
    • Video reproduction is still sometimes a bit buggy on browser (Youtube works fine)

    Untested features:
    • SD-Card as internal storage

    Known issues:
    • USB-OTG (Mass-Storage): detected but the file-system is not usable and will be corrupted afterwards (--> do not connect your USB-stick at the moment)
    • SELinux not enforcing
    • Video recording is still buggy/not working (crashes)
    • Fingerprint scanner can only records 3 fingers and sometimes it could be unresponsive

    Disclaimer:
    • You flash this image at your own responsibility. I am not responsible for any damage that might be caused by flashing this image (bricked device, lost data, ...)
    • Flashing this kernel image will trigger the KNOX counter, so your warranty will be void.
    • Applications that use KNOX (e.g. "Private Mode") might not work anymore when returning to the stock ROM, as the device is regarded as compromised. Do not flash this ROM if you need those applications.
    • The image is only for Exynos3470 based S5 Mini variants SM-G800F/M/Y.
    • It might be instable, crash your device, drain your battery, or even might damage your smartphone (e.g. if an USB-OTG device drains too much power)
    Before you start:
    • Backup your data, like call history, contacts, sms, WhatsApp messages, favourite app settings that are on internal and external sd (by using Titanium Backup or other apps available on PlayStore). At least all internal data will be lost in any case. If you have bad luck you might also loose data from your external sd card.
    • Important note: It is possible that flashing this ROM can cause efs partition issues. Therefore it is strongly recommended to make a backup of your efs partition before flashing this ROM. This can be done via TWRP.

    Download:

    Install recovery:
    • Reboot your device into Download mode: turn off your device, then press Volume-Down + Home + Power button at the same time and release them.
    • Confirm the following warning message with the Volume-Up button.
    • Connect your device to your PC via USB
    • Make sure the device driver's are installed on your PC
    • Start Odin
    • In Odin select "PDA" (in newer versions: "AP") and select the recovery image (recovery.tar.md5)
    • Check that only "F. Reset Time" is set. "Auto Reboot" should be disabled to avoid a reboot into stock ROM.
    • Click on "Start": the recovery image should be flashed now. By flashing the recovery, your warranty will be void.
    • After the recovery flashing process was successful, reboot into recovery mode (see instructions below).
      • Important: make sure not to boot into stock ROM, otherwise the stock ROM might remove the custom recovery again. If this happens, flash the recovery image again.

    Flash ROM:
    • Reboot into recovery mode (Press Volume-Up + Home + Power button)
    • Make a Backup of your phone (Backup, then select Boot, System, Data, then swipe to backup). Note that the recovery might fail to restore the backup when you want to go back to the stock ROM.
    • Copy GApps and LineageOS ROM zip to your device's internal or external SD card
      • Connect your device via USB to a PC. You should see the device in the Windows File Explorer now.
        • If you do not see the device in File Explorer, make sure that MTP is enabled (inside Mounts, click on Enable MTP).
        • If MTP does not work from recovery, try to copy via MTP by booting your old Android ROM or just remove the external SD card and copy to it directly.
      • Select one of the two drives (internal or external SD) and copy the files to it.
        • Do not put the files into the data directory of the internal sd card, otherwise they will be wiped in the next step.
    • Wipe Dalvik Cache, Cache, System and Data (inside Wipe -> Advanced Wipe).
      • Do not report problems if you did not wipe those partitions as the problems are most probably related to this!
    • Install the LineageOS ROM zip package
    • Install the GApps zip package

    How to root:
    LineageOS does not have root support integrated by default. You have to download addonsu-arm-signed.zip for 14.1 from the Lineageos Extras download page and install it with TWRP.
    After that root access is still disabled by default. If you want to activate root access for apps, do the following:
    • Open the Settings menu, select "About Phone"
    • Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
    • Open the Settings menu, select "Developer options". Enable root access by selecting "Apps" in the "Root-Access" setting.

    In case you want to go back to the stock ROM:
    • lf you do not have the latest ROM for the G800F you can download it from SamMobile
    • Reboot your phone into Odin mode
    • Open Odin on your PC and connect your smartphone with your PC via USB
    • If you have a zip-file unzip it so that you have a .tar.md5 file
    • In Odin click on the PDA button and select the .tar.md5 file. Then press "Start".
    • Normally the stock rom fails to boot as the data from CM is still on the data partition. So after flashing the stock rom, reboot into recovery mode (it looks a bit different now). First wipe the data partition, then wipe the cache.
    • Reboot

    Changelog
    Code:
    24/10/2017:
    * Wake on Home button press
    * Model string fixed ("G800F" instead of "G800")
    * GPS fixed
    * Bluetooth fixed
    * Update to newest LineageOS sources
    * Note: Android 8.0 requires a new TWRP recovery (build from 22/10/2017). otherwise you will not be able to flash the image ("E3004: This package is for device: kminiltexx,kminiltedv,kminilteub,kminilte; this device is .")
    
    10/10/2017:
    * telephone calls working
    * Camera works (recording videos might still not work)
    * LineageOS sources updated
    
    24/09/2017:
    * Initial test build

    Source:

    Help from other developers is always welcome. Just ask in this thread or PM if you want to help.

    Thanks to spookcity138, ayke, mirhciulica, Psyafter and CTXz for working on this ROM.

    XDA:DevDB Information
    [G800F/M/Y][ROM][8.1.0][OPM2] LineageOS 15.1 for G800F/M/Y [Alpha], ROM for the Samsung Galaxy S5 Mini

    Contributors
    hennymcc, ayke, Andrea224, spookcity138, mirhciulica, CTXz
    Source Code: https://github.com/cm-3470

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: TWRP Recovery [version >= 22/10/2015]
    Based On: LineageOS

    Version Information
    Status: Alpha

    Created 2017-09-24
    Last Updated 2018-07-05
    21
    A new build is available:
    https://www.androidfilehost.com/?fid=962021903579487392

    Changelog:
    * Wake on Home button press
    * Model string fixed ("G800F" instead of "G800")
    * GPS fixed
    * Bluetooth fixed
    * Update to newest LineageOS sources

    Note: Android 8.0 requires a new TWRP recovery (build from 22/10/2017). otherwise you will not be able to flash the image ("E3004: This package is for device: kminiltexx,kminiltedv,kminilteub,kminilte; this device is .")

    TWRP Link: https://www.androidfilehost.com/?fid=962021903579487486

    Thanks to Ayke for the new TWRP build. Unfortunately it is not yet available on the official TWRP download page.
    18
    I uploaded a new build with RIL and camera fixed. See opening post for more details.
    18
    Hi everyone, now that I'm a contributor I've updated the main post and I've finally added my Gdrive folder link where you can find the last and the previous LOS 15.1 updates. I'll release them at least monthly/weekly, when the security patches are updated or if there's a new fix for the phone. Also, I'll post a changelog (even if short) about the update.

    Regards
    17
    A short status update on Oreo:
    Lineage 15.1 finally left the staging area last week (which does not mean that it is already released).

    I just tried it and telephony, mobile data, wifi, audio and bluetooth are working.
    Camera is not working anymore (neither taking photos nor video recording) as the patches I applied to 15.0 do not apply anymore to 15.1.
    For some reason RIL (i.e. telephony) which was working in 15.0 is broken now but I did not take a deeper look at it so far.

    Camera video recording (with HAL1) is still not fixed in lineage. About 1/3 or 2/3 of the devices supported by lineage 14.1 only support camera HAL1 so the chances are quite good that this will be fixed in lineage in the next months.

    As long as camera (at least taking photos) and RIL is not working I will not provide builds for it. All source updates are pushed to github in case somebody wants to try it.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone