[STABLE] LineageOS 17.1 for Galaxy S7 build 22

Search This thread

[email protected]

New member
Aug 1, 2020
4
0

JamesBott

Senior Member
Feb 2, 2011
234
94
Ansbach
Hi @Helmy José,

"hello, I have the February version, to install the March version I must delete some folders from the system or just flash it?"
If you flash Update from your installed ROM you can "dirty flashing" over your running system.

If you flash other Custom-ROM it is better to "wipe" and "format data" : this is "clean flashing"

If your Phone running with this ROM from Ivan_Meler and now is Update available (Update is the same ROM newer) then you can "dirty flashing".
 
Jun 30, 2016
41
7
I did a clean install of the ROM and the mobile data is not working, does anyone know how to fix it? Otherwise, everything looks normal and so far there has been no random restart.

I want to highlight two strengths:
- Battery: lasts more than a day, great for a cell phone with 4 years of use;
- Call quality: loud and clear.

Thanks Ivan Meler
Did you manage to solve the mobile data? I installed latest ROM yesterday, but mobile data won't work

EDIT: switch APN to only IPv4. Works now!
 
Last edited:

Ivan_Meler

Recognized Developer
New builds with April security update are out, get them in OP here is a brief changelog
- Merged April 2021 Security Update
- Synced with LOS source

Not too many changes as most of the work is focused on 18.1, once again big thanks to everyone who supported this project and helped keeping it alive Enjoy new build and stay safe
 

fipsy

Senior Member
Feb 6, 2013
788
291
Hannover, Germany
Already since the January release screenshots are no longer included in the gallery! They are only stored in the file system, but not shown in Google Photos or in the gallery. I thought the bug would be fixed, but it is still there in the April release.

When I read what problems some users have with the OS, I'm still well off. What bothers me the most is that the Wi-Fi is turned off after about 20 minutes of standby and then all data traffic runs via mobile data. So listening to podcasts consumes large amounts of mobile data volume quite unnecessarily. Unfortunately, there is no setting that allows WiFi to remain permanently active in standby. A huge drawback!

what about the untestet things like GPS, Fingerprint Sensor and camera? Are they working? Or is the los 18.1 the bedder choice at the moment?
GPS and fingerprint have been working for me all the time. But the camera is still a problem. When I save photos or videos to the external SD card, it is not uncommon for the smartphone to simply perform a cold boot and the photos or videos are not saved. Moreover, the file system of the SD card is increasingly destroyed as a result.

Meanwhile, I think that these are all kernel related problems, because if you change the kernel parameters with Kernel Adiutor, some problems become less. Therefore, LOS 18.1 will probably not bring any improvement to these problems. I think that the kernel would have to be fundamentally reworked to eliminate all these problems.
 
Last edited:

Sebastian323

Member
Mar 23, 2019
9
0
Hello Fipsy,
thanks for your answere. So saving camera-pictures on internal sd is working?
Perhaps I keep it with the orginginal rom for some more time.
Best regards
Sebastian
 

fipsy

Senior Member
Feb 6, 2013
788
291
Hannover, Germany
That's right. But performance and battery is not everything. Stability and functionality are also very important. So this ROM is not bad but also not excellent. I would say it's ok overall. Depending on what you want to do with it and what is particularly important to you.
 

Don Carnage

Senior Member
Mar 23, 2013
109
336
I installed the ROM and everything was fine for a couple of weeks until today. When I checked my phone, I pressed the power button and the only thing I could see was the clock. It goes away after a couple of seconds and I can't do anything else. Holding the power button for no matter how long doesn't do anything. I can plug in USB and the device will be detected but I can't access any files, I didn't enable ADB, so I cannot connect to reboot. Any advice? My last hope is that it will turn off at some point so I can charge it a little bit and see whether it will boot up again. Before I updated, I used the Android 9 version of this ROM and never had anything like this happening.

Edit: the background for the clock is completely black, there is really nothing else. It looks like the always on feature with only time and date visible.
 

jomann

Member
Jan 29, 2021
34
5
I installed the ROM and everything was fine for a couple of weeks until today. When I checked my phone, I pressed the power button and the only thing I could see was the clock. It goes away after a couple of seconds and I can't do anything else. Holding the power button for no matter how long doesn't do anything. I can plug in USB and the device will be detected but I can't access any files, I didn't enable ADB, so I cannot connect to reboot. Any advice? My last hope is that it will turn off at some point so I can charge it a little bit and see whether it will boot up again. Before I updated, I used the Android 9 version of this ROM and never had anything like this happening.

Edit: the background for the clock is completely black, there is really nothing else. It looks like the always on feature with only time and date visible.
Try holding Power + Volume Down for 10 seconds or so to force the power off.
 
  • Like
Reactions: Don Carnage

bwildenhain

Member
Nov 14, 2013
14
21
NFC extended length progress

I have made a little progress with NFC extended length. Adding
Code:
ISO_DEP_MAX_TRANSCEIVE=0xFEFF
to
Code:
/system/vendor/etc/libnfc-nci.conf
did the trick for me. Could someone please test with German Ausweisapp2 or NFC-based payment?

I can confirm Ausweisapp2 works after this change :) on LineageOS 16.0 (build on 13th of April of 2021). Thanks for your hint!
 
Last edited:

tuam

New member
Apr 30, 2021
1
1
Cologne, Germany
I installed the ROM and everything was fine for a couple of weeks until today. When I checked my phone, I pressed the power button and the only thing I could see was the clock. It goes away after a couple of seconds and I can't do anything else. Holding the power button for no matter how long doesn't do anything. I can plug in USB and the device will be detected but I can't access any files, I didn't enable ADB, so I cannot connect to reboot. Any advice? My last hope is that it will turn off at some point so I can charge it a little bit and see whether it will boot up again. Before I updated, I used the Android 9 version of this ROM and never had anything like this happening.

Edit: the background for the clock is completely black, there is really nothing else. It looks like the always on feature with only time and date visible.

You accidentally tripped Smart Cover detection. Try fiddling with a magnet on the left edge of the phone near the bottom.
 
  • Like
Reactions: Hemuli

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I installed the ROM and everything was fine for a couple of weeks until today. When I checked my phone, I pressed the power button and the only thing I could see was the clock. It goes away after a couple of seconds and I can't do anything else. Holding the power button for no matter how long doesn't do anything. I can plug in USB and the device will be detected but I can't access any files, I didn't enable ADB, so I cannot connect to reboot. Any advice? My last hope is that it will turn off at some point so I can charge it a little bit and see whether it will boot up again. Before I updated, I used the Android 9 version of this ROM and never had anything like this happening.

    Edit: the background for the clock is completely black, there is really nothing else. It looks like the always on feature with only time and date visible.
    Try holding Power + Volume Down for 10 seconds or so to force the power off.
    1
    I installed the ROM and everything was fine for a couple of weeks until today. When I checked my phone, I pressed the power button and the only thing I could see was the clock. It goes away after a couple of seconds and I can't do anything else. Holding the power button for no matter how long doesn't do anything. I can plug in USB and the device will be detected but I can't access any files, I didn't enable ADB, so I cannot connect to reboot. Any advice? My last hope is that it will turn off at some point so I can charge it a little bit and see whether it will boot up again. Before I updated, I used the Android 9 version of this ROM and never had anything like this happening.

    Edit: the background for the clock is completely black, there is really nothing else. It looks like the always on feature with only time and date visible.

    You accidentally tripped Smart Cover detection. Try fiddling with a magnet on the left edge of the phone near the bottom.
    1
    @rho-bot I assume BobG meant the file attached in the mentioned post from tha_G ->https://forum.xda-developers.com/goto/post?id=83368475
    I will test it and report.
    1
    @Bob G @chrisrevoltes May I ask which file (from which post) you used for Mixer update? Tthere were several mixer_paths_0.xml shared in this thread...
    Its the one replied. Here again:
    I've been spending some time to investigate our in-call-echo-problem. I think the second mic (the one on top of our phone, which can be used for echo cancellation) is enabled and routed to the input so that the output of our ear-speaker creates feedback into it.

    I changed the mixer_paths a little as a test and it seems the echo is way better. (according to someone who was complaining the most (REALLY!) about hearing herself all the time).

    I'm not entirely convinced it is fixing the issue because all of a sudden I do not have troubles anymore with too silent ringtone-volumes too without changing anything related to that.

    Please try it out and see if it improves things on your phones ;)

    You can just install the zip in TWRP.
    It makes a backup of your current mixer_paths and put mine in place so you always have the option to revert (manually).
    The file is attached in the original post.
  • 155
    k5tUT1V.png

    LineageOS 17.1 for herolte

    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Working:
    - Wifi
    - Sound
    - mali drivers
    - USB tethering
    - HW Backed video Playback
    - Ril (Mobile data,calls, sms and stuff)
    - Sensors
    - Buttons and their backlight
    - Bluetooth
    - Wifi HotSpot
    - MTP
    - 2D and 3D gpu acceleration
    - HW encoding/decoding
    - Charging with device powered off
    - Stuff I didn't test yet
    - Camera
    - HWcomposer (HWC)
    - GPS
    - Fingerprint Sensor
    - Mobicore
    - SW codecs

    Not Working
    -


    Take a note that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
    in this rom thread as you will be reported to moderator also do not post bug reports for known issues or bug reports without proper
    a) Logcat
    b) proc/last_kmsg (or proc/kmsg)
    c) data/tombstones
    d) dmesg

    Also do not under any circumstances post bug reports if you are using substratum themes or unsupported magisk modules or you have performed any system modifications



    Install gapps right after installing the rom itself dont try to boot to system before that

    Downloads:
    If you are coming from pre-January 2021 build remove fingerprints and delete /data/system/locksettings.db this is needed due to mobicore version change which helped fix fingerprint with 3rd party secure apps

    Google Drive
    Mega.nz
    MD5: e09444ccbcdbeec2f71f2601d6f6c9a4

    Gapps

    I do this in my free time so bear that in mind when you notice I didn't fix known bug in next available build, Currently i work on this alone and i am not one of those kangers that just copy source and claim it as their own work,
    if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler




    Feel free to join telegram group with early builds progress updates and some off topic stuff Join


    Based On Android 10/Q
    Changelog

    09.04.2021.
    - Merged April 2021 Security Update
    - Synced with LOS source

    06.03.2021.
    - Merged March 2021 Security Update
    - Fixed mouse pointer icon
    - Fixed issues with frp
    - Synced with LOS source

    03.02.2021.
    - Merged February 2021 Security Update
    - Added proper flicker free (DC dimming) implementation
    - Added support for smart cover
    - Misc performance and stability improvements

    12.01.2021.
    - Merged januart 2021 Security Updat
    - Fixed issues with fingerprint in 3rd party secure apps (banking apps paypal password managers)
    - Updated prebuilt binaries
    - Cleaned up mixer paths
    - Added neural network drivers
    - Disabled p2p mac randomization
    - Fixed wifi direct
    - Removed unused 32bit drivers
    - Improved performance and stability
    - A lot more unmder the hood changes

    11.12.2020.
    - Merged December 2020 security update
    - Added wireguard to kernel
    - Update proprietary blobs to G93*KKKU3ETJ1 (Stuff that is not already using note fe blobs)
    - Moved most of libraries to vendor subfolder
    - Merged N935FXXS7CTJ2 kernel source
    - Downported some changes from lineageos 18
    - Misc performance and stability improvements
    - Synced with LOS source

    10.11.2020.
    - Hotfix build with fixed stuttering issues from previous build

    08.11.2020.
    - Added irqbalance implementation adopted for 8890
    - Improved power hal freq. boosting with (Should make whole system a lot smoother)
    - uprevved configstore to 1.1
    - Adjusted dex2oat rules to allow it to use up to 6 threads under load
    - Misc performance and stability improvements
    - Merged November 2020. Security update
    - Synced with LOS source

    08.10.2020.
    - Improved audio handling in some voip apps (microphone)
    - Adjusted zram values
    - Imrpoved UI performance
    - Merged october 2020 securiy update
    - Misc performance and stability improvements
    - Synced with LOS source

    11.09.2020.
    - Updated vendor blobs to N935KKKU4CTH1 with August 2020 vendor security update
    - Enabled dynamic audio processing effects
    - Improved microphone performance (Should also resolve headset mic issues with some apps)
    - Increased recording volume
    - Misc performance and stability improvements
    - Merged September 200 security update
    - Synced with LOS source

    11.08.2020.
    - Improved ui performance
    - Resolved FRP issues
    - Added sunlight enhancements for better visibility under direct sunlight
    - Further Improved camera stability
    - General performance and stability improvements
    - Synced with LOS source

    05.08.2020.
    - New working camera drivers
    - Improved power hal frequency handling
    - Fixed echo in calls
    - More precise signal reporting
    - Added expandable volume panel
    - Selinux is enforcing
    - Kernel is using latest note FE base
    - All of the drivers have been updated to latest note fe base
    - Merged latest security updates merged (August 2020)
    - New and improved power hal
    - New thermal hal
    - Ability to disable fast charging from settings
    - Ability to enable flicker free from settings
    - Ability to change vibration intensity from settings
    - In call volume adjustment has been fixed
    - Improved stability and performance (No random reboots anymore)
    - Improved memory management
    - Working hardware backed encryption
    - Working AudioFX
    - A lot more imrpovements that didnt make it to the list


    03.06.2020.
    - Merged June 2020. Security update
    - Fixed crashes caused by graphics mapper
    - Added advanced display features
    - Color calibration backed up by mDNIe
    - Accessibility mode
    - More Modes?! check for yourself under Settings>Display
    - Enabled zram
    - Switched to bfq IO scheduler
    - Switched to common Doze implementation
    - Switched to mke2fs for fs generation and checking to improve performance and stability of filesystem
    - Reenabled call recording for supported countries
    - Added DRM hal
    - Improved bionic runtime speeds by setting it to use exynos-m1 core optimizations
    - Disabled samsung ZSWAP
    - performance and stability improvements
    - Synced with LOS source

    05.06.2020.
    - Switched to system side LMKD
    - Fixed headphones (aux) microphone input
    - Imporved UI performance
    - Fixed ringtone output being routed to speaker with headphones/bt device plugged in
    - Merged May security update
    - General stability improvements
    - Synced with LOS source

    04.23.2020.
    - Fixed audio routing to speakerphone after call
    - Updated vendor security patch to march 2020
    - Power hal improvements
    - Added AptXHD support
    - Merged new gralloc and mali blobs from G93*FXXS8ETC6
    - Updated camera blobs
    - Updated omx blobs
    - Updated wifi firmwares
    - Merged april 2020 security update
    - Misc performance and stability improvements
    - Synced with LOS source

    03.11.2020.
    - Removed camera wrapper that was causing issues with some apps
    - Improved BT audio/call handling
    - Updated power hal (Fixed hw keys reactivating while they should be off (Gestures are enabled))
    - Fixed WiFi speed drops with bt enabled
    - Merged XXU5ESD2 kernel changes
    - Merged XXS6ESI4 kernel changes
    - Fixed kernel side security issues related to binder
    - Merged march security update
    - Synced with LOS source

    02.07.2020.
    - Added AptX bluetooth audio blobs back
    - Added new power hal which has more control over performance battery life (You cna also control
    profile of device under battery entry in settings (Powersave/balanced/performance))
    - Improved notification light on/off handling
    - Added back Snap camera with working video recording
    - Binderized audio hal process
    - Added back camera wrapper
    * Fixed Camera3 metadata
    * Enabled HAL1 for some apps that had issues previously (e.g. whatsapp,snapchat,facebook,instagram)
    * Fixed 2k/4k video recording handling in some apps
    * Fixed bug where camera would hang after canceling auto focus in some legacy apps
    - Enabled batch and backgroun Wifi scanning
    - Fixed dual band wifi support
    - Misc performance and stability improvements
    - Synced with LOS source

    01.22.2020.
    - Merged january security update
    - Fixed broken git tag detection in kernel which would show -dirty in kernel version
    - Fixed dialer lag with touch tones enabled
    - Added back Camera2 as snaps video recording was broken
    - Removed unused custom gps impl
    - Removed unused gps headers
    - updated audio headers and fixed wrong declaration of SOUND_DEEP_BUFFER_DEVICE
    - Added audio effects config for sound hal
    - Updated audio policy to bne able to use aux as output
    - Added libtinycompress
    - Reimplemented audioserver arch
    - Reimplemented audio hal and so its only building single arch now
    - Fixed sound in games and voip apps like whatsapp
    - Fixed audio routing going thru earpiece after calls
    - Misc performance and stability improvements
    - Merged LOS source

    05.01.2020.
    - Properly fixed Dual sim device detection
    - Switched to early mounting EFS from dtb instead from fstab file
    - Switched to new radio interface used for signal reporting instead of using frameworks hacks to do so
    - Fixed OpenCL
    - Fixed Vulkan
    - Removed proximity check on system wake which was unusable
    - Added Snap camera app back instead of Camera2
    - Merged December system security patch from r18 tag together with all new features introduced with it
    - Misc performance and security improvements

    19.12.2019.
    - Fixed software codecs (sw video playback)
    - Fixed random crashes related to audio/video subsystem
    - Fixed detection of dual sim devices
    - Fixed wireless tethering
    - Fixed regression that broke front facing camera
    - Reimplemented sensor hal to handle SSENSOR permission properly on aosp
    - Audio pahts file has been completely rewritten and cleaned up
    - Added trust HAL to control usb otg
    - Added device health hal
    - Merged november security update to vendor
    - Reimplemented display modes as hidl interface
    - Reimplemented touch features as hidl interface
    - Switched to hardware/samsung power hal
    - Switched to a new light hal
    - Added back AdvanceDisplay
    - Misc performance and stability improvements
    - Synced with LOS source

    05.11.2019.
    - Updated RIL hal to latest P blobs from samsung
    - Updated GPS hal to latest P blobs from samsung
    - Updated LHD (sensors) hal to latest P blobs from samsung
    - Imrpoved handling of hal1 apps
    - Updated mobicore
    - Fixed GPS and Fingerprint
    - Replaced FP driver with HIDL interface one
    - fixed ashmemd access issues
    - misc audio fixes
    - Stability and performance improvements

    08.10.2019.
    - Initial release



    XDA:DevDB Information
    LineageOS 17.1 for Galaxy S7, ROM for the Samsung Galaxy S7

    Contributors
    Ivan_Meler
    Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-17.1

    ROM OS Version: Android 10

    Version Information
    Status:
    Stable
    Stable Release Date: 2020-12-11
    Current Beta Version: 1.2.0

    Created 2019-10-08
    Last Updated 2020-12-11
    69
    So here is a progress update, Fingerprint issues have been completely patched, Mobicore and fingerprint implementation has been completely reworked which was a mess, In other news GPS has also been fixed which involved reworking whole RIL stack and im testing builkd with those fixes at the moment there are also a lot smaller fixes in this build i will post in changelog once new build is up in few days hopefully if everything goes alright

    DKUTtxQ.jpg
    67
    Sorry for a bit buggy first releaser and delays, Had a little accident and ended up with hospital so i didnt include fixes that are on my local PC but still wanted to release somethig for the comunity, hope you enjoy it
    52
    new build is up with a lot of improvements here if brief changelog

    - Updated RIL hal to latest P blobs from samsung
    - Updated GPS hal to latest P blobs from samsung
    - Updated LHD (sensors) hal to latest P blobs from samsung
    - Imrpoved handling of hal1 apps
    - Updated mobicore
    - Fixed GPS and Fingerprint
    - Replaced FP driver with HIDL interface one
    - fixed ashmemd access issues
    - misc audio fixes
    - Stability and performance improvements

    Big thanks to everyone for support on the project so far and for donations which help offset the build server cost
    43
    New build is up this one can be labeled as stable (Read red text, Use chrome beta and remove password if updating from beta version of rom)
    Here is a brief changelog
    - New working camera drivers
    - Improved power hal frequency handling
    - Fixed echo in calls
    - More precise signal reporting
    - Added expandable volume panel
    - Selinux is enforcing
    - Kernel is using latest note FE base
    - All of the drivers have been updated to latest note fe base
    - Merged latest security updates merged (August 2020)
    - New and improved power hal
    - New thermal hal
    - Ability to disable fast charging from settings
    - Ability to enable flicker free from settings
    - Ability to change vibration intensity from settings
    - In call volume adjustment has been fixed
    - Improved stability and performance (No random reboots anymore)
    - Improved memory management
    - Working hardware backed encryption
    - Working AudioFX
    - A lot more imrpovements that didnt make it to the list

    Big thanks to everyone who supported project so far it really wouldnt be possible without them, Keeping this device alive is both fun and challanging fixing camera itself took over 30 hours and will greatly help other roms including oneui 2.x ports since they will be able to use lib from this rom
    So coffee and donations to help cover build/development server cost are as always welcome, Enjoy new build and new and reborn S7
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