You need to make the phone boot into the recovery first after flashing twrp with odin without booting normally iirc.
So.... disable "auto reboot" in odin and after flashing it, hold power+home+vol DOWN, then immediately after the screen flashes, swap to holding power+home+vol UP.
I suggest to first wipe phone completely by flashing stock factory image via Odin.
If that doesn't work, phone has FRP issue.
If it works, you may follow
Here a detailed Instruction:
========================================================
1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
2. Now go to Settings -> Developer options. (above About device)
You need to enable OEM unlock, otherwise you might end up with boot problems or be unable to flash later on.
3. Extract Odin to your computer.
4. Install Samsung Mobile Phone Drivers for Odin to find your device.
5. Download a .tar image of TWRP for herolte.
6. Reboot your device into Download mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Home] buttons while your device reboots.
Once you reach the Download mode warning screen, press [Volume Up] to continue.
7. [Optional] Install latest Bootloader / Modem firmware:
Open Odin and place the Bootloader in the [AP] and Modem in the [CP] slot.
Disable Auto-Reboot Option, then press [Start].
8. Open Odin and place that TWRP tar file in the [AP] slot.
Disable Auto-Reboot Option, then press [Start].
9. Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap [Volume Down] to [Volume Up] (continuing to hold [Home] + [Power]) when the screen blanks.
If you don't see then TWRP boot splash try again from step 6.
10. At this point, you will reach the screen asking you if you want to allow system modifications.
By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot!
11. After allowing modifications, go into Wipe and choose Format Data option
(no need to format differently and then format back again)
12. REBOOT back into TWRP recovery again using the option in the reboot menu
13. Download the latest ROM for your device.
Without exiting TWRP, transfer the ROM zip to your device over MTP* and flash it using [Install] in TWRP.
14. [Optional] Download the latest GAPPS for your device.
Without exiting TWRP, transfer the GAPPS zip to your device over MTP* and flash it using [Install] in TWRP.
Important: Flash Gapps and Mods right after Rom Installation, no reboot in between!
15. Go to [Reboot] -> [System].
12. Wait 2-5 minutes for your device to finish setting itself up.
I suggest to first wipe phone completely by flashing stock factory image via Odin.
If that doesn't work, phone has FRP issue.
If it works, you may follow
Here a detailed Instruction:
========================================================
1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
2. Now go to Settings -> Developer options. (above About device)
You need to enable OEM unlock, otherwise you might end up with boot problems or be unable to flash later on.
3. Extract Odin to your computer.
4. Install Samsung Mobile Phone Drivers for Odin to find your device.
5. Download a .tar image of TWRP for herolte.
6. Reboot your device into Download mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Home] buttons while your device reboots.
Once you reach the Download mode warning screen, press [Volume Up] to continue.
7. [Optional] Install latest Bootloader / Modem firmware:
Open Odin and place the Bootloader in the [AP] and Modem in the [CP] slot.
Disable Auto-Reboot Option, then press [Start].
8. Open Odin and place that TWRP tar file in the [AP] slot.
Disable Auto-Reboot Option, then press [Start].
9. Hold [Volume Down] + [Home] + [Power] to get out of Download mode and immediately swap [Volume Down] to [Volume Up] (continuing to hold [Home] + [Power]) when the screen blanks.
If you don't see then TWRP boot splash try again from step 6.
10. At this point, you will reach the screen asking you if you want to allow system modifications.
By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot!
11. After allowing modifications, go into Wipe and choose Format Data option
(no need to format differently and then format back again)
12. REBOOT back into TWRP recovery again using the option in the reboot menu
13. Download the latest ROM for your device.
Without exiting TWRP, transfer the ROM zip to your device over MTP* and flash it using [Install] in TWRP.
14. [Optional] Download the latest GAPPS for your device.
Without exiting TWRP, transfer the GAPPS zip to your device over MTP* and flash it using [Install] in TWRP.
Important: Flash Gapps and Mods right after Rom Installation, no reboot in between!
15. Go to [Reboot] -> [System].
12. Wait 2-5 minutes for your device to finish setting itself up.
Thank you! In the meantime I found the reason for this issue. It was the DNS server in Settings > Private DNS. I switched to Automatic and tried another DNS server. Both methods work perfectly.
so it turned out that the newest version of twrp didn't work. I used the previous version, and everything workied fine. Thanks everyone for the effort put in here. Nice to be able to update these older devices ank keep them working.
so it turned out that the newest version of twrp didn't work. I used the previous version, and everything workied fine. Thanks everyone for the effort put in here. Nice to be able to update these older devices ank keep them working.
Hi all. I've tried a few times to install this along with gapps MindTheGapps-12.1.0-arm64-20220605_112439.zip. I've by uploading the 2 files to the phones sd card and using WRTP to do the install and also using adb to sideload through TWRP. In the both cases LineageOS installed fine but in the 1st case there was a error installing gapps and in the 2nd case everything *appeared* to install ok but when the phone boots there are no Google apps so I have no way to install apps. Is this normal or have I been doing something wrong?
I used Odin to flash TWRP but the very latest version fail so I had to use the next version down on the TWRP downlaod page. The LineageOS file I'm using is;
lineage-19.1-20221109-UNOFFICIAL-herolte.zip
and Gapps is;
MindTheGapps-12.1.0-arm64-20220605_112439.zip
Hopefully somebosy will be able to help me sort this out as Lineage 19 looks nice
so it turned out that the newest version of twrp didn't work. I used the previous version, and everything workied fine. Thanks everyone for the effort put in here. Nice to be able to update these older devices ank keep them working.
Thanks for that Snype Did you manage to get TWRP 3.7 onto your phone from the link on here? I've tried but I'm not sure how to do it lol. I have 3.6.2_9-0 on my phone at the moment and extracted the 3.7 version from the zip and uploaded it to the phone then tried to use TWRP to install it but it doesn't see the image using the install option. Then I uploaded the whole zip and tried to install it but I get an "invalid zip file format" error. I'm probably doing it all wrong lol. What process did you use to get the correct TWRP onto you phone?
Thanks for that Snype Did you manage to get TWRP 3.7 onto your phone from the link on here? I've tried but I'm not sure how to do it lol. I have 3.6.2_9-0 on my phone at the moment and extracted the 3.7 version from the zip and uploaded it to the phone then tried to use TWRP to install it but it doesn't see the image using the install option. Then I uploaded the whole zip and tried to install it but I get an "invalid zip file format" error. I'm probably doing it all wrong lol. What process did you use to get the correct TWRP onto you phone?
I'm not sure if this is a bug or just my phone being old and decrepit like its' owner but in the status bar the battery always shows as being at 0% but in both the settings and settings/battery screens I can see the correct level of charge. When I first booted the phone for the 1st time after installation I changed the status bar settings to show the battery percentage in text next to the icon and it *did* display to correct percentage then. However the following day it was showing the battery as 0% in the status bar and has done ever since even while on charge. It's not a big issue and I can certainly live with it but I thought I should mention it here just in case the info is useful to somebody
Apart from that little issue I'm loving it, the phone seems more responsive and I *think* the battery life is a little better althoug my battery is fubar so it's hard to tell lol. My thanks to the creator for a job well done
New update is out, With december security update.
Here is a brief changelog:
- Merged December 2022. Security update
- Synced with LineageOS source
20.0, 18.1 and 17.1 builds will be updated later this week/next week
20.0 builds will get quite big update as pixel quarterly feature drop is getting merged with a lot of new exciting features in android 13 so it will take a bit more time than usual.
Huge thanks to everyone who supported this project, helped cover the build server cost and got me coffee.
This project wouldnt be possible without them.
New update is out, With december security update.
Here is a brief changelog:
- Merged December 2022. Security update
- Synced with LineageOS source
20.0, 18.1 and 17.1 builds will be updated later this week/next week
20.0 builds will get quite big update as pixel quarterly feature drop is getting merged with a lot of new exciting features in android 13 so it will take a bit more time than usual.
Huge thanks to everyone who supported this project, helped cover the build server cost and got me coffee.
This project wouldnt be possible without them.
Thanks a lot @Ivan_Meler for you relentless and fine work!
I have ordered now a second Samsung Galaxy S7 as used, to have a testing system to be more safier when upgrading my main S7.
So, when this works, I will change in two weeks or so to your LOS 20.0...
New update is out, With december security update.
Here is a brief changelog:
- Merged December 2022. Security update
- Synced with LineageOS source
20.0, 18.1 and 17.1 builds will be updated later this week/next week
20.0 builds will get quite big update as pixel quarterly feature drop is getting merged with a lot of new exciting features in android 13 so it will take a bit more time than usual.
Huge thanks to everyone who supported this project, helped cover the build server cost and got me coffee.
This project wouldnt be possible without them.
New update is out, With december security update.
Here is a brief changelog:
- Merged December 2022. Security update
- Synced with LineageOS source
20.0, 18.1 and 17.1 builds will be updated later this week/next week
20.0 builds will get quite big update as pixel quarterly feature drop is getting merged with a lot of new exciting features in android 13 so it will take a bit more time than usual.
Huge thanks to everyone who supported this project, helped cover the build server cost and got me coffee.
This project wouldnt be possible without them.
Details:
Used twrp-3.6.2_9-0-herolte after unsuccessfully trying 3.7.0
Used BiTGApps-arm64-12.1.0-v1.8_signed after unsuccessfully trying MindTheGapps-12.1.0-arm64-20220605_112439 (crashed after unable to mount /system)
Here we go, first build of 2023, and here is a changelog
- Merged January 2023. Security update
- Misc performance and stability improvements
- Synced with LineageOS source
Huge thanks to everyone who supported this project by helping to cover the build server cost and for those who got me coffee.
This project wouldnt be possible without them.
Unfortunately I confirm I have phone echo issues with this Rom since I installed it (fews months ago), and with every following update.
The echo is not on my side, my caller can hear it's own echo on his side. Seems like my mic is recording sound from my speaker (at low level but still)
Is there mixer_path tweaks to try, or something else to flash ?
Or is it possible to check another Rom mixer path file ?
I'm having this same issue. It seems that apps that don't rely on some form of phone call service/voIP (like the Google Recorder app) work just fine with the microphone. I can't hear anything that seems out of the blue, only the fact that the microphone (at least from what it seems) records audio a lot quieter than it use too.
The quiet microphone sensitivity seems to also carry over to the VoIP / Regular Calling apps as well. The Interlocutor can hear their voice briefly for a small amount of time shortly after they speak.
I think the reason why this happens is because the S7 has 2 microphones on the top and bottom. I noticed that the top microphone (at least from my findings with settings pages, and different apps) cannot be configured for use. The default microphone the phone uses is the one at the bottom, located close to the speaker.
I tried looking around many places (including XDA) in different places from Magisk Modules to Lineage updates, but it appears that this is a known issue with very minimal knowledge as to what is causing it for some people.
I hope this gives insight to anyone actively investigating the issue, though I do admit it's pretty surface level observations.
Thanks to everyone for making this possible, especially Ivan Meler.
(I'm using the Canadian G930W8 variant of the S7 in case anyone was wondering)
Edit: I forgot to mention that I tried installing different Microphone mixer_path patches, alongside having AML (Audio Modification Library) installed, but it seemed to not resolve anything. I will likely continue my own digging with this as I'm not too accustomed to what it fully does yet.
Have the same problem with my girlfriend's Galaxy S7 with lineage OS onboard. SInce installation, I hear (on my Xiaomi 9T) terrible echo and hissing distortion of her voice. Can anybody help me?
Unfortunately I confirm I have phone echo issues with this Rom since I installed it (fews months ago), and with every following update.
The echo is not on my side, my caller can hear it's own echo on his side. Seems like my mic is recording sound from my speaker (at low level but still)
Is there mixer_path tweaks to try, or something else to flash ?
Or is it possible to check another Rom mixer path file ?
Unfortunately I confirm I have phone echo issues with this Rom since I installed it (fews months ago), and with every following update.
The echo is not on my side, my caller can hear it's own echo on his side. Seems like my mic is recording sound from my speaker (at low level but still)
Is there mixer_path tweaks to try, or something else to flash ?
Or is it possible to check another Rom mixer path file ?
/*
* 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
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- HWcomposer (HWC)
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Keep in mind that some LineageOS features have not been completed yet this is not a device bug and please do not report those in this rom thread, 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
Install gapps right after installing the rom itself don't try to boot to system before that if you want to use gapps (Or wipe data before installing them)
Make sure gapps you decide to use support android 12L/12.1/Are targetting api level 32
Also make sure you are using latest official TWRP before installing rom older versions do not have proper android 12 support
If you want to use Magisk use latest Magisk Beta (25.0) or Magisk 24.1, there is bug in 24.3 that was fixed after its release that prevents zygisk from working on some devices with 3.18 kernel
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST ETH(erc20): 0xc7272f851a692c679e85f18a62632c580ef3bdee
Donations help cover the build server cost and since I do this in my free time, and also cover the coffee for time spent debugging stuff
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Based On Android 12L/S
Changelog
05.01.2023.
- Merged January 2023. Security update
- Misc performance and stability improvements
- Synced with LineageOS source
07.12.2022.
- Merged December 2022. Security update
- Synced with LineageOS source
09.11.2022.
- Merged November 2022. Security update
- Cleaned up patches list
- Synced with LineageOS source
05.10.2022.
- Merged october 2022. Security update
- Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
- Synced with LineageOS source
07.09.2022.
- Merged September 2022. Security update
- Updated chromium webview to 105.0.5195.79
- Synced with LineageOS source
07.08.2022.
- Merged August 2022. Security update
- Synced with LineageOS source
07.07.2022.
- Merged July 2022. Security update
- Fixed more keystore issues
- Synced with LineageOS source
24.06.2022.
- Fixed issues with keystore present in a lot of bank/secure apps like binance
- Fixed issue where setupwizard would crash when adding fingerprint due to bug in keystore
- Cleaned up patches required for build and removed unneeded ones
- Synced with LineageOS source
07.06.2022.
- Merged June 2022. security update
- Merged June 2022. pixel feature drop (SQ3A.220605.009.A1)
- Improved in-call audio quality drastically
- Addressed few more selinux denials
- Improved general stability and performance
- Cleaned up source
- Synced with LineageOS source
26.05.2022.
- Updated libexynosdisplay from BSP to comply with some android 12 changes
- Removed unused build.prop entries
- Fixed few selinux denials related to hwc props
- Improved UI performance and stability
- Cleaned up source
- Removed more unneeded patches for device support
- Synced with LineageOS source
18.05.2022.
- Added QR code reader quick settings toggle
- Improved device performance and stability
- Added Custom low power mode power profile for cpu
- Improved A-GNSS (A-GPS) Lock speed
- Exposed device hw revision to settings
- Improved fast/slow charger detection
- Synced with LineageOS source
10.05.2022.
- Switched to new libperfmgr power hal which can be configured from /system/vendor/etc/powerhints.json
- Adapted DT2W to new power hal
- Muted phone services gps notif (Thanks google really appreciate you breaking random things for everyone)
- Improved battery life and performance
- Cleaned up all of leftover patches that were used by legacy power hal
- Synced with LineageOS source
07.05.2022.
- Improved battery usage logging for display
- Added QR code reader to camera app (Long hold icon and launch it from context menu)
- Misc performance and stability improvements
- Merged May 2022. security update
- Synced with LineageOS source
27.04.2022.
- Removed libbfqio dependency from hwc since it was dropped from lineageos 19.1
- Misc performance and stability improvements
- Synced with LineageOS source (same base as official builds + some extras)
18.04.2022.
- Fixed bug wehre vibrations were too low on some devices due to inintensity being set to 0
- Fixed bug where apps would show square popup "animation" when launching from icon instead of roudned one
- Cleaned up build patches
- Synced with LineageOS source
15.04.2022.
- Updated sepolicy and merged updated common samsung_slsi sepolicy
- Increased microphone gain while recording media (Camcorder, voice recording etc.)
- Added option to disable vibration feedback on fingerprint auth
- Synced with LineageOS source
08.04.2022.
- Fixed extended volume panel
- Updated icons for few more stock apps
- Cleaned up patches further
- Misc peroformance improvements
- Synced with LineageOS source
06.04.2022.
- Merged April 2022. Security update
- Enabled new LineageOS icons (you might have to clear launcher cache for them to show up)
- Fixed issue where galery app would show black text on black background
- Fixed issue where unlock sound would sometimes play twice
- Misc performance and stability improvements
- Synced with LineageOS source
29.03.2022.
- Drastically speed up app launch time (more info about that here)
- Imrpoved performance and battery life by disabling some unnecessary logging
- Switched to source built camera provider and removed samsung proprietary one
- Upreved camera provider to 2.5
- Fixed few selinux denials related to NFC trying to raad debug props
- Removed floating_feature.xml which is unused on aosp
- Disabled livedisplay by default
- Cleaned up extra dependencies used for compiling
- Synced with LOS source
22.03.2022.
- Added back configurable audio volume panel location
- Speed up unlock with fingerprint
- Updated a lot of apps to MaterialYou design language
- Fixed issue where touch screen area bellow home button would act as a gesture area even while gestures are disabled
- Improved stability of ADB connection
- Implemented new LineageOS setupwizard
- Cleaned up device tree and list of required patches
- Stability and performance improvements
- Pointed Changelog url in updater app to new page
- Synced with LineageOS source
14.03.2022.
- Fixed issue with keystore where apps would crash when invoking it (Security related apps mostly like signal and a lot of work apps)
- Officially rebranded as 19.1
- Updated changelog URL in updater app to point to a valid changelog
- Fixed battery icon styles (Again..)
- Removed invalid zram config.
- Cleaned up source
- Performance and stability improvements
- Updated some stock apps to math with new design
- Synced with LineageOS source
10.03.2022.
- Merged March 2022. security and feature updates (Android 12L)
- Fixed status bar network trafic monitor
- Improved zram performance and enabled zram writeback
- Cleaned up patches needed for build
- Fixed network usage monitoring
- Fixed per app network restrictions
- Removed AudioFX which was causing issues
- Decreased microphone and earpiece gain a bit to mitigate in-call issues
- Updated some device control apps like advanced display settings
- Improved vibrator intensity in new hal
- Imrpoved fp sensor response time
- A lot of 'under the hood' changes
- Performance improvements
- Merged more previously missing los features
- Implemented OTA updates
10.02.2022.
- Merged February 2022. security update
- Removed broken volume button location toggle
- Synced with LOS source
09.02.2022.
- Fixed issue where camera would stop working after prolonged use
- Misc performance and stability improvements
- Merged some more lineageos features that have been posted to gerrit
- Synced with LOS source
28.01.2022.
- Fixed developer options crashing on launch
- Added Bluetooth SBC Dual Channel HD audio mode
- Synced with LOS source
27.01.2022.
- Added back lineageos setup wizard present on clean installs
- Merged some of previously missing features that have been ported over to LineageOS 19
- Performance and stability improvements
- Synced with LOS source
18.01.2022.
- Enabled selinux (Its enforcing now)
- Moved audio hal to vendor
- Fixed confirmation dialog box for button backlight
- Fixed ok button which would go missing for button backlight
- Switched to source built secril_config_svc (used for ds detection)
- Removed obsolete debug.sf.disable_backpressure prop
- Merged latest security updates to kernel from aosp kernel/common
- Cleaned up source
- Cleaned up unused props
- Removed unused custom ld.config.txt that was overriding main one
- Misc performance and stability improvements
- Synced with LOS source
06.01.2022.
- Removed duplicate props in vendor and system
- Cleaned up device tree code
- Switched to source built camera provider lib
- Switched to few source built ril related libs
- Addressed more selinux denials
- Fixed volume panel location settings
- Added button backlight
- Added Advanced Reboot
- Added LiveDisplay entry into settings
- Added system side toggle for navigation bar
- Merged January 2022 Security Update
- Merged most of previously missing LineageOS features
- Misc performance and stability improvements
- Synced with LOS source
20.12.2021.
- Fixed wireless display
- Reduced logspam which should imrpove performance a bit
- Misc performance and stability improvements
- Synced with LOS source
16.12.2021.
- Merged r18 tag of Android 12 (SQ1D.211205.016.A1)
- Removed liboemcrypto which was preventing drm playback in some apps
- Synced with LOS source
13.12.2021.
- Updated Clearkey to 1.4
- Addressed most of selinux denials
- Switched to new AIDL Lights hal
- Upreved audio hal to 7.0
- Switched to new AIDL Vibrator hal
- Disabled configstore which got replaced with props
- Upreved fingerprint hal/service to 1.3
- Removed unused kernel defconfig flag
- Synced with LOS source
09.12.2021.
- Merged December 2021. Security update
- Merged December 2021 pixel feature drop
- Added signature spoofing support which can be used to add microg instead of gapps
- Merged a lot of lineageos features that have been implemented
- Fixed bluetooth sample rate while in call
- Moved device specific ueventd rules to /system/vendor/etc
- Freed up some ram
- performance and stability improvements
30.11.2021.
- Initial release
XDA:DevDB Information LineageOS 19.0 for S7, ROM for the Samsung Galaxy S7
Ill just leave this here, Yep its already happening
Most of stuff is working but ill need to do some cleanup before posting this
Some lineageos featues are missing but most have already been merged
Once again huge thanks to everyone who supported this project and helped cover build server cost with donations and also got me coffee this project wouldnt be possible without them
see you soon with latest android version on 6 and a half old phone
here it is August security update
Nothing major in this one as i am still working behind the scenes on that huge update i talked about previously which involves rewrite of almost whole graphics and media stack (its almost finished but i still have to do a bit more testing just to make sure there is no regression)
In other news android 13 should be released next month and since there were no major changes s7 should be running it soon after release with not too many issues and ill try to take a few days off from work to get it up and running on it once source is out
Once again huge thanks to everyone who supported this project, helped cover build server cost and got me coffee with donations.
This project wouldnt be alive without them as i do this in my free time as a hobby.
Since my birthday is tomorrow I decided to release a little surprise build. Here is a brief changelog:
- Updated libexynosdisplay from BSP to comply with some android 12 changes
- Removed unused build.prop entries
- Fixed few selinux denials related to hwc props
- Improved UI performance and stability
- Cleaned up source
- Removed more unneeded patches for device support
- Synced with LineageOS source
Im aware of Seedvault issue curently present and im working on a fix for it.
I wanted to release something as a gift from me to everyone using this rom and supporting this project throughout the years. Keeping older phones alive and up to date is really fun hobby and I don't think I would've kept doing it if it wasnt for all of the support from the comunity.
Once again big thanks to everyone who helped cover the build serve cost and coffee.
New build is up, here is a brief changelog
- Merged July 2022. Security update
- Fixed more keystore issues
- Synced with LineageOS source
Also some important news, Exodusnick decided to provide huge help and he bought and shipped s7 to me which should be here next week, so all of exciting updates i talked about last week should be way easier to achieve and this will make testing and developement a lot easier, Once again huge thanks to him.
Also big thanks to donators that helped to cover build server cost and got me coffee which helped to keep this project up and running.
Thanks to this s7 should live for few more android releases without any major issues. and Android 12 will get even better with new hals that are curently in developement
There will be updates to 18.1 and 17.1 in a few days once july security updates have been ported to them